wiredfool
e3f1e9293d
fixing the png leak test memory calculations
2017-06-27 21:20:46 +01:00
wiredfool
5a671830d8
Merge pull request #2541 from uploadcare/fix-truncated-png-loading
...
Fix truncated png loading
2017-06-21 12:23:15 +01:00
wiredfool
8eb1dcb7c5
test for truncated png memory leak #2541
2017-06-21 03:31:32 -07:00
Andrew Murray
e8cba27bb1
Changed assert checks to more specific versions
2017-06-03 14:04:54 +10:00
Andrew Murray
f0480de118
Restricted PNG encoderinfo chunks to valid values when saving
2017-01-21 16:57:03 +11:00
Andrew Murray
ded14572a1
Added more tests for PNG chunk ordering
2017-01-21 14:47:59 +11:00
Andrew Murray
361f579579
Moved iCCP chunk before PLTE chunk when saving as PNG
2017-01-21 13:32:22 +11:00
Hugo
48b72eac34
Merge pull request #2184 from jdufresne/isinstance
...
Replace type() equality checks with isinstance
2016-11-01 19:07:06 +02:00
Jon Dufresne
a33939f5c3
Remove unused, open files at top level of tests.
...
The data read from the file was unused. The files remained opened and
were never explicitly closed.
Fixes some instances of warnings during tests:
"ResourceWarning: unclosed file ..."
2016-11-01 06:34:17 -07:00
Jon Dufresne
e44bb42ae9
Replace type() equality checks with isinstance
2016-10-31 06:41:43 -07:00
Andrew Murray
4c28926da3
Fixed typos
2016-10-02 21:31:53 +11:00
Tim Graham
0c66b80a95
Fix "invalid escape sequence" warning in Python 3.6
...
http://bugs.python.org/issue27364
2016-09-27 19:26:57 -04:00
hugovk
2c4a1209f4
flake8
2016-08-04 09:40:12 +03:00
homm
1ba4e9e5ba
remove end of file banner from all files
2016-07-10 14:11:28 +03:00
Alexander Karpinsky
639bdd3c02
Merge pull request #1991 from kkopachev/png-crc-error-ignore
...
Ability to skip crc checks for ancillary chunks
2016-06-30 17:25:04 +04:00
Konstantin Kopachev
5f2fe6083c
CR feedback: don't use lambda
2016-06-29 17:29:55 -07:00
Konstantin Kopachev
885297d21f
Fix python 3 bytes to string concat error
2016-06-29 14:44:29 -07:00
Konstantin Kopachev
c3b970f046
Ability to skip crc checks for ancillary chunks
2016-06-29 12:24:37 -07:00
homm
1a6c6b1250
tests for icc profile in png
2016-05-12 20:31:54 +03:00
wiredfool
b2800b57a7
spelling typos
2016-05-03 19:46:22 +01:00
Oliver Tonnhofer
0f8d66bc96
add failing test for #1838 ; extend tests for current transparency behavior
2016-04-19 10:21:48 +02:00
wiredfool
90378c8298
Fixing compatibility with the truncated images tests
2016-04-04 05:40:37 -07:00
wiredfool
77da73c90f
Catch struct.errors when verifying png files, convert to SyntaxErrors, fixes #1755
2016-04-04 03:08:22 -07:00
Andrew Murray
309ab1fc3d
Various Flake8 fixes
2015-07-03 16:22:56 +10:00
Andrew Murray
a06b59bd52
Added various tests
2015-07-03 15:03:25 +10:00
Justin Wilson
e33b5c6355
Added test to check that png with null tRNS value defaults to a zero transparency value.
2015-05-27 09:45:27 -06:00
Andrew Murray
ee34d6843b
Further health fixes
2015-04-24 18:24:52 +10:00
Andrew Murray
76fec69eda
Removed unnecessary lambdas
2015-04-24 16:02:39 +10:00
Andrew Murray
d1c182cadc
Various Flake8 fixes
2015-04-24 09:26:52 +10:00
wiredfool
8c2a7502a4
Correct the name
2015-01-28 10:02:04 -08:00
wiredfool
05fe86654c
Added _repr_png method for ipython display hooks
2015-01-28 09:35:31 -08:00
wiredfool
b73c4b9e8b
Test change -- different representation for invalid compressed object
2014-12-28 22:50:03 -08:00
Hugo
5e676ea0bd
Merge remote-tracking branch 'upstream/master' into flake8
...
Conflicts:
Tests/bench_cffi_access.py
Tests/test_file_palm.py
Tests/test_format_hsv.py
Tests/test_image_putdata.py
Tests/test_locale.py
Tests/test_mode_i16.py
2014-09-23 16:35:20 +03:00
wiredfool
af672b1d7e
Fix for handling P + transparency -> RGBA conversions
2014-09-20 10:27:52 -07:00
hugovk
94da23ea3b
Fix tests. test_trns_p() needed assert_image_similar() in place of assert_image_equal()
2014-09-14 20:00:13 +03:00
hugovk
1de128d6b6
Merge branch 'master' into flake8
2014-09-14 10:23:51 +03:00
hugovk
e1c33d3190
Replace lena with hopper
2014-09-04 12:09:52 +03:00
hugovk
1335006cd7
flake8
2014-08-28 14:44:19 +03:00
Fredrik Tolf
2687b5cb8d
Test unicode preservation in text chunks.
2014-07-23 08:17:11 -07:00
Fredrik Tolf
823d377e47
Added tests for iTXt saving.
2014-07-23 07:27:51 -07:00
Fredrik Tolf
2b4d91ed53
Added iTXt tests.
2014-07-23 01:09:06 -07:00
hugovk
cf04a9a0d2
Remove unused tearDownModule
2014-07-07 20:03:50 +03:00
hugovk
78003ca473
Update paths to Tests/images/ instead of Images/
2014-06-23 09:19:29 +03:00
hugovk
3ec505958e
Convert old tests to use unittest
2014-06-10 12:10:47 +03:00
hugovk
c9a4272af6
Replace python-imaging with python-pillow (but yet not Coveralls)
2014-06-03 13:02:44 +03:00
wiredfool
0d453d9805
Added test for Palette transparency=0
2014-02-28 16:29:34 -08:00
wiredfool
598bd02650
Tightened up the tests
2014-01-21 20:50:54 -08:00
wiredfool
0492409def
don't use bare asserts, don't mask file builtin with local
2014-01-20 13:34:48 -08:00
Bruno Renié
e1e64904c7
Cleanup handling of ICC profile, more extensive testing
2014-01-19 19:09:40 +01:00
Bruno Renié
0348fcac51
Fix crash on save when icc_profile is None
2014-01-19 16:40:39 +01:00