wiredfool
3b227d1a05
Merge from current master
2014-05-20 11:47:53 -07:00
hugovk
5f195ae1a7
On Py3.4, a PendingDeprecationWarning comes from Coverage.py for using the imp module. This warning causes 3.4 builds to fail so ignore the warning from importing coverage.
2014-05-09 11:41:43 +03:00
hugovk
8794c46318
For pickling, test with Image's __eq__. Everything else can use the old assert_image_equal.
2014-04-26 20:05:02 +03:00
hugovk
2a6f2c5442
Add __eq__ and __ne__ to Image to be able to test image equality when pickling. Pickle more data.
2014-04-26 19:43:53 +03:00
hugovk
f40cf7870f
More testing
2014-04-13 23:16:01 +03:00
hugovk
2271ee6f65
Add some simple tests for OleFileIO.py
2014-04-11 14:53:33 +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
4877d52cf4
warn category defaults to UserWarning
2014-03-30 09:25:52 -07:00
Alastair Houghton
946753a3b5
Ignore spurious messages from OpenJPEG.
2014-03-27 08:36:15 +00:00
wiredfool
29c9e952b3
return value for assert_image_similar
2014-01-23 21:06:33 -08:00
cgohlke
b7aafa2036
Add assert_almost_equal() for testing float numbers
2013-12-29 20:05:55 -08:00
wiredfool
ca35a9d65d
tests for img -> numpy.array
2013-09-30 14:10:58 -07:00
Alex Clark
bb1b3a532c
Cleanup WS, courtesy of @Arfrever
...
find * -type f "-(" -name "*.bdf" -o -name "*.c" -o -name "*.h" -o -name "*.py" -o -name "*.rst" -o -name "*.txt" "-)" -exec sed -e "s/[[:space:]]*$//" -i {} \;
2013-06-30 18:42:19 -04:00
wiredfool
ab0fe89131
Supressing ResourceWarnings for unclosed files in the test suite. Revert me when fixed
2013-05-23 10:44:09 -07:00
wiredfool
94d9218dd0
enable warnings for test suite
2013-05-22 09:26:41 -07:00
Michał Górny
c01696bf2d
Use proper tempdir for temporary test files.
...
Writing temporary files in source tree is just wrong. Instead, use
a directory inside system tempdir.
2013-04-21 11:05:31 +02:00
wiredfool
5eae020aef
py3 as well
2013-03-22 21:25:37 -07:00
wiredfool
f432530df3
approximate test for lossy image writing
2013-03-22 21:15:45 -07:00
Mikhail Korobov
c4baeccfce
fix 2.6 tests by replacing usages of deprecated fromstring/tostring with frombytes/tobytes
2013-02-26 16:28:34 +06:00
Brian Crowell
197885164b
py3k: Backport Gohlke's tests to run on 2.6/2.7
...
Most of the differences are in tobytes/tostring naming and expected
behavior of the bytes() constructor. The latter was usually easy to fix
with the right bytes literal.
This is a good preview of what will have to happen in the Python 3 code.
2013-01-10 08:46:39 -06:00
Brian Crowell
ad784eb808
py3k: Import Christoph Gohlke's test suite
...
This is Christoph Gohlke's test suite from his personal PIL package found
at http://www.lfd.uci.edu/~gohlke/pythonlibs/ .
This is just to bring it in as a separate commit. Future commits will align
it with Pillow.
2013-01-10 08:46:39 -06:00