Commit Graph

14 Commits

Author SHA1 Message Date
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