Commit Graph

4665 Commits

Author SHA1 Message Date
wiredfool
5def1010c7 DRY, moved case inside loop 2014-07-23 15:16:23 -07:00
wiredfool
a5aea42bc9 Use PySequence_Fast* to iterate over the list
Pre commit:

$ NOSE_PROCESSES=0 PILLOW_RUN_KNOWN_BAD=1 time ./test-installed.py Tests/test_image_point.py
..
----------------------------------------------------------------------
Ran 2 tests in 132.056s

OK
131.63user 0.62system 2:12.28elapsed 99%CPU (0avgtext+0avgdata 292176maxresident)k
264inputs+0outputs (2major+451088minor)pagefaults 0swaps

Post:

$ NOSE_PROCESSES=0 PILLOW_RUN_KNOWN_BAD=1 time ./test-installed.py Tests/test_image_point.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.338s

OK
0.52user 0.06system 0:00.59elapsed 98%CPU (0avgtext+0avgdata 257584maxresident)k
176inputs+32outputs (2major+18033minor)pagefaults 0swaps

$ python --version
Python 2.7.6 (2.3.1+dfsg-1~ppa1, Jun 20 2014, 09:27:47)
[PyPy 2.3.1 with GCC 4.6.3]
2014-07-23 14:46:37 -07:00
wiredfool
94ca2b1076 using skip known bad 2014-07-23 14:31:49 -07:00
wiredfool
75dac32a0a single threaded for profile-installed.py 2014-07-23 14:30:55 -07:00
wiredfool
e14e3593d9 And now for something completely different. Py3 compatibility 2014-07-23 09:08:28 -07:00
wiredfool
67c235b7c0 Don't DOS pypy 2014-07-23 08:49:19 -07:00
wiredfool
ffe8887cc6 profiler for testing 2014-07-23 08:48:55 -07:00
Eric W. Brown
8d7266afc5 Fixed typo in new MPO unit test. 2014-07-23 11:36:23 -04:00
Eric W. Brown
832e11bed5 Enabled seeking in MPO files.
Note to self: either put the offset in the load_seek() definition or
the tile definition, not both.
2014-07-23 11:27:46 -04:00
Fredrik Tolf
2687b5cb8d Test unicode preservation in text chunks. 2014-07-23 08:17:11 -07:00
Fredrik Tolf
a9f4e30641 Save detected non-Latin1 characters as iTXt to preserve them. 2014-07-23 07:43:52 -07:00
Fredrik Tolf
823d377e47 Added tests for iTXt saving. 2014-07-23 07:27:51 -07:00
Eric W. Brown
6605bf22e5 Merge branch 'master' of https://github.com/python-pillow/Pillow 2014-07-23 09:22:15 -04:00
Hugo
0f6d77a141 Merge pull request #817 from wiredfool/draw_docs
ImageDraw doc update
2014-07-23 13:59:46 +03:00
Fredrik Tolf
2b4d91ed53 Added iTXt tests. 2014-07-23 01:09:06 -07:00
Fredrik Tolf
c469dd9ae5 Added support for encoding and decoding iTXt chunks. 2014-07-23 00:28:44 -07:00
wiredfool
1b170dad68 Partial opacity text example, parameters on ImageDraw.Draw [ci skip] 2014-07-22 16:43:23 -07:00
wiredfool
55792f8927 Updated Changes.rst [ci skip] 2014-07-22 16:22:28 -07:00
wiredfool
891224e944 Merge pull request #815 from hugovk/ImagePalette
More ImagePalette.py tests and remove unused and uncallable new()
2014-07-22 16:21:15 -07:00
wiredfool
0bb1cd398f Conversion between RGB and HSV images 2014-07-22 16:10:02 -07:00
wiredfool
625ff24358 Storage, packing and access for HSV format images 2014-07-22 16:09:22 -07:00
wiredfool
ee4793a806 More detail when assert_image_similar fails 2014-07-22 16:09:22 -07:00
hugovk
d34fd8868b Workaround to test PyQt: https://github.com/travis-ci/travis-ci/issues/2219#issuecomment-41804942 2014-07-22 16:09:22 -07:00
Eric W. Brown
1d3fe7ff45 Corrected offset for MPO frames. 2014-07-22 18:23:45 -04:00
Eric W. Brown
d5909e4946 Basic MPO reading works, seek is partially there. 2014-07-22 13:31:51 -04:00
wiredfool
af4c3c9a8c Merge pull request #814 from hugovk/qt2.7
Test PyQt on Travis CI
2014-07-21 14:11:48 -07:00
hugovk
d06735b49e More ImagePalette.py tests and remove unused and uncallable new() 2014-07-21 23:18:46 +03:00
hugovk
8c60de375d Workaround to test PyQt: https://github.com/travis-ci/travis-ci/issues/2219#issuecomment-41804942 2014-07-21 12:15:23 +03:00
wiredfool
7155919b5b Merge pull request #809 from hugovk/public_gamma_lut
Make _make_gamma_lut() public
2014-07-20 11:37:41 -07:00
hugovk
751f672058 Call public, non-warning versions internally 2014-07-20 21:08:14 +03:00
hugovk
37691bc1e4 Make _make_linear_lut public and issue deprecation warnings from old private methods 2014-07-20 10:13:26 +03:00
wiredfool
d810e9a018 Merge pull request #810 from hugovk/verbose_failfast
Tests: Be verbose and fail fast
2014-07-19 21:44:59 -07:00
wiredfool
6381d62503 Update CHANGES.rst [ci skip] 2014-07-19 21:25:25 -07:00
wiredfool
bf2014ece6 Merge pull request #803 from hugovk/SgiImagePlugin
Sanity tests for SgiImagePlugin.py
2014-07-19 21:21:11 -07:00
hugovk
fef3ceb2c0 If we can't read a file due to unsupported compression, raise an error 2014-07-20 01:50:05 +03:00
hugovk
15c92359cc Merge some similar tests to a single file 2014-07-20 01:17:32 +03:00
hugovk
0c12058e37 Use unique class names to match filenames 2014-07-20 01:17:20 +03:00
hugovk
64bf7d466f Fail fast: -x to stop running tests after the first error or failure 2014-07-20 01:17:10 +03: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
Eric W. Brown
098e4c36d6 Further populated Exif values in TiffTags.
Added lots more of the possible Exif values per the EXIF specifications.
2014-07-18 22:02:14 -04:00
hugovk
3c39a44f6e Make _make_gamma_lut() public 2014-07-19 01:45:57 +03:00
Hugo
31f8da78b7 Update CHANGES.rst [CI skip] 2014-07-19 00:31:43 +03:00
Hugo
eb4f669b34 Merge pull request #808 from wiredfool/xpm_load_image
Fix Scrambled XPM
2014-07-19 00:28:02 +03:00
wiredfool
d30eb007ef Fix scrambled XPM image, don't mmap when load_read/load_seek is defined. Fixes #806 2014-07-18 10:40:08 -07:00
hugovk
14d1ac6389 Rename bad variable name 'file' to 'TEST_FILE', remove unused 'data' variable 2014-07-17 23:23:50 +03:00
wiredfool
cf8f191c54 Updated Changes.rst [ci skip] 2014-07-17 09:51:44 -07:00
Eric W. Brown
5857053be4 Activated MPO detection.
Added MPO to the list to be checked. Removed the superfluous second os
import. Added OS X & Komodo work files to .gitignore.
2014-07-17 12:30:45 -04:00
wiredfool
c0e840f242 Merge pull request #805 from hugovk/DcxImagePlugin
Tests for CurImagePlugin.py and DcxImagePlugin.py
2014-07-17 09:17:47 -07:00
hugovk
1e24dcd317 Check some pixel colors to ensure image is loaded properly 2014-07-17 10:42:43 +03:00
hugovk
8db043b35f flake8 2014-07-17 02:40:14 +03:00