Commit Graph

38 Commits

Author SHA1 Message Date
homm
cdd0624945 improve tests 2016-09-19 03:12:53 +03:00
wiredfool
e980ca7896 Merge pull request #2010 from uploadcare/jpeg-raise-on-alpha
Show warning when trying to save RGBA image as JPEG
2016-08-25 11:41:49 +01:00
homm
193c756139 return implicit RGBA to JPEG save, raise warning 2016-08-09 03:11:35 +03:00
homm
1ba4e9e5ba remove end of file banner from all files 2016-07-10 14:11:28 +03:00
Antony Lee
93abbd0caa Restore legacy TIFF API.
To have the old API that always returns tuples, and fractions as pairs,
set the `legacy_api` attribute of the IFD to True.

This should alleviate concerns about backwards compatibility.
2015-09-11 22:39:37 +01:00
Andrew Murray
bbf3b52357 Flake8 fixes 2015-06-20 14:46:04 +10:00
wiredfool
1086ba9e6e Function rename 2015-06-16 13:35:34 -07:00
wiredfool
0347bcc91d Tests that faill on appveyor CI, but pass on a real machine 2015-06-12 09:56:12 -07:00
Andrew Murray
d1c182cadc Various Flake8 fixes 2015-04-24 09:26:52 +10:00
Alex Clark
9c37a29553 Merge pull request #982 from hugovk/cache
Re-enable test image caching
2015-03-31 21:36:24 -04:00
Andrew Murray
128280e5b8 Fixed duplicate import in Tests helper 2015-04-01 09:56:04 +11:00
homm
a86e032a18 return fresh image is no mode specified and cached version otherwise 2014-11-19 03:41:44 +03:00
hugovk
fb788b85a9 Cache hopper to reduce FS reads and speed up tests 2014-10-29 21:28:29 +02:00
Hugo
ae7b765b53 Fix some Landscape.io errors and warnings 2014-10-01 16:50:33 +03:00
wiredfool
460160a1e3 Updated merge from master 2014-09-26 16:07:52 -07:00
Hugo
0aa48600a2 Add a layer to hopper.psd, because lena.psd had layers 2014-09-23 17:09:43 +03: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
Christoph Gohlke
09ba5560d8 On Windows, do not execute convert.exe without specifying path
Convert.exe is a system tool that converts file systems
2014-09-21 17:50:07 -07:00
hugovk
337b222438 Add note to lena()/hopper() functions 2014-09-14 21:44:29 +03:00
hugovk
1de128d6b6 Merge branch 'master' into flake8 2014-09-14 10:23:51 +03:00
hugovk
b929873a62 Change some lena() to hopper() 2014-09-05 12:36:24 +03:00
Hugo
5dd4d6d941 Add hopper() to eventually replace lena() 2014-09-04 08:03:55 +03:00
hugovk
1335006cd7 flake8 2014-08-28 14:44:19 +03:00
wiredfool
94ca2b1076 using skip known bad 2014-07-23 14:31:49 -07:00
wiredfool
ee4793a806 More detail when assert_image_similar fails 2014-07-22 16:09:22 -07:00
hugovk
65cbdae449 Run nose in verbose mode so we can see the tests being run/skipped. Override __str__ in PillowTestCase for nicer output, and make sure all tests are derived from PillowTestCase. 2014-07-20 01:16:51 +03:00
hugovk
cf04a9a0d2 Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
wiredfool
08d491f006 Skip known bad tests 2014-07-05 10:56:40 -07:00
wiredfool
cedd8c2106 Failing test for messed up P image on write only format 2014-07-05 10:25:16 -07:00
wiredfool
acab4e8fdc Cleaned up prints 2014-06-30 15:23:24 -07:00
wiredfool
c824a15fe8 Thread and race condition safe tempfiles for testing 2014-06-30 15:22:36 -07:00
Hugo
d8f55e3f50 Merge pull request #748 from wiredfool/djpeg
Prevent shell injection
2014-06-30 02:16:06 +03:00
wiredfool
2d13166667 Don't print the entire image as bytes on failure 2014-06-29 14:39:32 -07:00
Michael Brown
8b365f542a Skip tests if external commands aren't found 2014-06-27 19:11:01 -04:00
hugovk
f41e0a30fb More tests cleanup 2014-06-25 12:10:20 +03:00
hugovk
78154765ce Update README and remove unnecessary, commented code from helper.py 2014-06-24 14:03:10 +03:00
hugovk
78003ca473 Update paths to Tests/images/ instead of Images/ 2014-06-23 09:19:29 +03:00
hugovk
4dd47fc697 Add test base class and helper functions 2014-06-10 12:12:53 +03:00