Commit Graph

374 Commits

Author SHA1 Message Date
hugovk
cf6daf03fe Use correct brackets 2014-04-11 10:47:37 +03:00
hugovk
267cdf523e Print out lists of failed tests (and temporarily force a failure for testing) 2014-04-11 10:28:06 +03:00
hugovk
9210f88102 Start coverage measurement earlier so tests are properly covered 2014-04-08 17:20:52 +03:00
hugovk
5afdd6cb54 pep8 Tests/tester.py 2014-04-08 17:17:10 +03:00
hugovk
ed00b2e6d2 Read existing data coverage on measurement start, save on stop. Only measure PIL code. 2014-04-08 12:38:30 +03:00
hugovk
3e9cde4412 Use tester.py's built-in coverage and coverage.py's built-in cleanup 2014-04-08 12:28:00 +03:00
wiredfool
2daac27713 Tests for writing hi bit pgm 2014-04-07 22:22:42 -07:00
wiredfool
864fb95cb1 Read test for 16 bit binary pgm file, #602 2014-04-07 22:10:45 -07:00
wiredfool
82d7524add made has_ghostscript a method, using it from test_imagefile 2014-04-04 13:33:54 -07:00
wiredfool
ab3687e10f Tests correctly check for the core object 2014-04-03 16:04:29 -07:00
wiredfool
182e7782fa Trapping warnings 2014-03-30 09:26:03 -07:00
wiredfool
4877d52cf4 warn category defaults to UserWarning 2014-03-30 09:25:52 -07:00
wiredfool
0d7115a5a4 Merge from master 2014-03-30 09:14:04 -07:00
Alex Clark ☺
6e6bc21ba1 Merge pull request #565 from al45tair/icns-support
Improved icns support
2014-03-30 07:30:14 -04:00
Alex Clark ☺
0baa82ac69 Merge pull request #580 from wiredfool/libtiff-fd-leak
Fixes libtiff leaking open files
2014-03-29 18:25:57 -04:00
wiredfool
65c17d4176 Removed warning import, stray im=None, and moved os import to top 2014-03-28 08:35:18 -07:00
Alastair Houghton
5dd67abd71 Merge branch 'master' into icns-support 2014-03-28 09:15:20 +00:00
Alastair Houghton
c2ddcbfde9 Merge JPEG 2000 icon support. 2014-03-28 09:11:45 +00:00
Alastair Houghton
5aac5b7eff Made JPEG2K support for files conditional on its inclusion in pillow build. Added a JPEG2K icon test. 2014-03-28 09:09:55 +00:00
wiredfool
b73b4a7b63 Tests for #526 2014-03-27 22:17:27 -07:00
wiredfool
3e24bc684d Merge pull request #578 from wiredfool/xrange
Python3 issues in JpegImagePlugin
2014-03-27 20:52:07 -07:00
wiredfool
7a8025b947 Merge of travis-tweaks into jpeg2k 2014-03-27 20:36:15 -07:00
wiredfool
a2800ba9a1 Additional commits from pr 2014-03-27 20:00:10 -07:00
wiredfool
5a4808d2d2 test cleanup: don't mask file builtin, data is unused 2014-03-27 16:44:58 -07:00
wiredfool
c7af2bf5b0 Test for #577 2014-03-27 16:39:58 -07:00
Alastair Houghton
0eccdf534d Merge branch 'master' into icns+jp2k 2014-03-27 08:38:02 +00:00
Alastair Houghton
946753a3b5 Ignore spurious messages from OpenJPEG. 2014-03-27 08:36:15 +00:00
wiredfool
2b81156619 merge to master 2014-03-26 18:46:35 -07:00
wiredfool
55ea6c01b1 OSError catching in the test as well 2014-03-26 13:31:20 -07:00
wiredfool
edc3215e34 Disabling poor performing test on pypy 2014-03-26 09:12:51 -07:00
Alastair Houghton
1dfa9faae2 Updated icons. 2014-03-26 14:08:54 +00:00
Alastair Houghton
cbe7e93bdd Merge branch 'icns-support' into icns+jp2k 2014-03-26 11:18:26 +00:00
Alastair Houghton
5904ac1718 Added some tests and a couple of icns files. 2014-03-26 10:49:39 +00:00
wiredfool
8adbaf8098 Better tests, fixes for leaking RGB->P transparency 2014-03-26 00:01:10 -07:00
wiredfool
89c24e971c Tests for #510 2014-03-25 23:33:49 -07:00
wiredfool
9518214980 Tests for #544 2014-03-25 21:42:40 -07:00
cgohlke
1adf30b701 TST: fix failing BMP tests on Windows 2014-03-20 01:16:31 -07:00
Alastair Houghton
f1b79ec5c0 Really added the tests this time. 2014-03-19 12:17:14 +00:00
wiredfool
ed36893ca0 Clarified Test Validity 2014-03-17 13:29:44 -07:00
Alex Clark ☺
da3ab720f4 Merge pull request #534 from homm/fix-getcolor-rgba
Fix ImageColor.getcolor
2014-03-17 10:20:40 -04:00
Alex Clark ☺
054eb71bc6 Merge pull request #525 from wiredfool/ico_parser
Make ICO files work with the ImageFile.Parser interface, fixes #522
2014-03-17 10:14:03 -04:00
Alex Clark
0e9f4c6c60 Merge branch 'dschmidt_palette_513' of https://github.com/wiredfool/Pillow into wiredfool-dschmidt_palette_513 2014-03-17 09:48:24 -04:00
Alex Clark
c1d44980b8 Merge branch 'pcx' of https://github.com/wiredfool/Pillow into wiredfool-pcx 2014-03-17 09:38:38 -04:00
Alex Clark ☺
35241da3f8 Merge pull request #517 from wiredfool/pcf
Fix support for characters >128 using .pcf or .pil fonts in Py3k
2014-03-17 08:30:02 -04:00
Alex Clark ☺
eb9da126ed Merge pull request #516 from wiredfool/cffi-pixelaccess
Skip CFFI test earlier if it's not installed
2014-03-17 08:27:38 -04:00
wiredfool
414e887726 Merge Changes from Master 2014-03-04 22:43:19 -08:00
wiredfool
f8ce951a2d Merge Changes from master 2014-03-04 22:41:36 -08:00
wiredfool
0fc225c358 test for issue #434 2014-03-04 22:29:55 -08:00
wiredfool
1706e59d1c cleanup tempfile 2014-03-04 22:02:22 -08:00
wiredfool
ae5bcb8e84 Test for issue #513 2014-03-04 22:02:03 -08:00
wiredfool
a3371ee9fe Tests for issue #523 2014-03-03 23:05:50 -08:00
homm
68a64e8071 fix ImageColor.getcolor in cases:
- color is rgba, mode is RGB
- mode is LA
2014-03-03 16:10:34 +04:00
wiredfool
0d453d9805 Added test for Palette transparency=0 2014-02-28 16:29:34 -08:00
wiredfool
36323d1140 Make ICO files work with the ImageFile.Parser interface, fixes #522 2014-02-16 20:58:06 -08:00
Alex Clark ☺
cbdd639838 Merge pull request #504 from e98cuenc/highquality
Improve heuristic used when saving progressive and optimized JPEGs with high quality values.
2014-02-10 07:23:44 -05:00
wiredfool
41e124af05 Skip CFFI test earlier if it's not installed 2014-02-04 21:45:34 -08:00
wiredfool
540e1e2c68 Added ability to render a bytes object using an old style bitmap font to make it easier to use in Py3k 2014-02-04 21:41:16 -08:00
wiredfool
4d32136365 Working in py3k, not in 2.x 2014-02-04 21:41:16 -08:00
Joaquín Cuenca Abela
96ca9ff6ff Another attempt to achieve python 3 compatibility. 2014-02-04 17:37:18 +01:00
Joaquín Cuenca Abela
97b23af7e5 Try to fix test_file_jpeg in Python3 2014-02-04 17:23:29 +01:00
wiredfool
c9955628e2 Merge from master 2014-01-31 21:38:34 -08:00
wiredfool
de1b02dc8c Merge pull request #508 from wiredfool/no-icc-profile
Fix crash on saving PNG when icc_profile is None
2014-01-31 14:03:21 -08:00
wiredfool
8a86364885 Merge branch 'no-icc-profile' of github.com:wiredfool/Pillow into no-icc-profile 2014-01-31 13:59:38 -08:00
wiredfool
3ea93e5de5 Merge branch 'bmp_test' of github.com:wiredfool/Pillow into bmp_test 2014-01-31 13:52:17 -08:00
wiredfool
288a563d1a merge from master 2014-01-31 13:45:31 -08:00
Alex Clark ☺
5750d5d6ef Merge pull request #474 from sciunto/bool
Maint: minor patch on booleans + travis
2014-01-31 13:16:38 -08:00
Joaquín Cuenca Abela
a0af87e524 Make test_file_jpeg compatible with Python 3 2014-01-28 08:48:40 +01:00
wiredfool
97c0be9358 enable test by default 2014-01-27 20:31:22 -08:00
wiredfool
0a156ca68a Check for unsupported bitmap compression/encoding 2014-01-27 20:30:52 -08:00
wiredfool
14175b786d Cleaning out prints, reenabling bad/questionable 2014-01-27 20:26:26 -08:00
Joaquín Cuenca Abela
bab068a337 Improve heuristic used when saving progressive and optimized JPEGs with high quality values. 2014-01-27 20:27:03 +01:00
wiredfool
ff417ceaac (supported) good bmps all pass 2014-01-26 20:38:54 -08:00
wiredfool
b3008a5386 good bmp tests, many failing for matching the images 2014-01-26 20:38:54 -08:00
wiredfool
29c9e952b3 return value for assert_image_similar 2014-01-23 21:06:33 -08:00
wiredfool
0d97ad0d8c Test Images 2014-01-23 20:29:58 -08:00
wiredfool
046a226f34 Don't use gigs of memory with invalid palette sizes 2014-01-23 20:11:05 -08:00
wiredfool
7d76ae2d91 Test for #495, writing to bytesio 2014-01-22 20:40:37 -08:00
wiredfool
15d6cc9f57 bmp test reorganization 2014-01-22 20:40:02 -08:00
wiredfool
8ce2faa8c9 enable eps test in test_imagefile, test passes 2014-01-21 23:17:47 -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
wiredfool
e1489d7c76 Merge pull request #500 from wiredfool/webp_lossless_abi
Webp lossless abi
2014-01-20 13:18:30 -08:00
wiredfool
78a51237c5 tests for #491/492, webp lossless abi 2014-01-20 13:05:30 -08:00
wiredfool
2cc2a8cd62 Merge pull request #499 from wiredfool/webp_exif
*  Don't send None as exif to JpegImagePlugin._getexif -- homm 
*  Test for fix -- wiredfool
2014-01-20 11:03:02 -08:00
wiredfool
54a3dc417f Test for PR#498 2014-01-20 10:59:30 -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
cgohlke
5f53d98b8e Add test for issue $479 2014-01-11 12:30:09 -08:00
wiredfool
79a7fdc100 I32 modes, not that I can actually use the I;32L/B ones 2014-01-08 21:18:38 -08:00
wiredfool
bfdc599c28 F mode support 2014-01-08 20:23:20 -08:00
François Boulogne
ead121d951 MAINT replace is False by not 2014-01-08 22:07:35 -05:00
François Boulogne
6b53d0d007 MAINT: replace is True: by : 2014-01-08 08:43:01 -05:00
François Boulogne
980517587d MAINT: use is instead of == for True, False, None 2014-01-07 21:24:21 -05:00
François Boulogne
923018dfeb MAINT: s/while 1:/while True:/ 2014-01-07 21:21:24 -05:00
wiredfool
b6ad79d9f9 detailed tests for I;16 modes, merged from i16-pixelaccess branch 2014-01-06 23:25:41 -08:00
wiredfool
e87e0333fb Merge branch 'i16-pixelaccess' into cffi-pixelaccess 2014-01-06 23:22:35 -08:00
wiredfool
5dfadf623b LA, PA image modes 2014-01-06 22:51:31 -08:00
wiredfool
121b51aebc trying to bust up the JIT a bit 2014-01-06 22:09:00 -08:00
wiredfool
4cacfe6b11 longer benchmark 2014-01-06 08:55:06 -08:00
wiredfool
c98f731f7e Ensuring c-api access 2014-01-05 21:36:13 -08:00