Pillow/Tests
2014-06-06 08:02:18 +03:00
..
fonts Removing buffer from imagefont 2013-04-25 18:48:43 +02:00
icc py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
images Merge pull request #661 from hugovk/test_imagedraw 2014-06-01 09:09:58 -07:00
bench_cffi_access.py trying to bust up the JIT a bit 2014-01-06 22:09:00 -08:00
bench_get.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
cms_test.py MAINT: replace is True: by : 2014-01-08 08:43:01 -05:00
crash_ttf_memory_error.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
import_all.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
large_memory_numpy_test.py test for 2gb numpy image segfault 2013-12-13 21:05:08 -08:00
large_memory_test.py Return positive size for > 2gpx images, fixes #436 2013-12-04 20:59:33 -08:00
make_hash.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
README.txt Add test instructions from Mark Sienkiewicz 2013-03-15 16:47:14 -04:00
run.py Test some debug functions. No asserts, just check they run ok. 2014-04-14 00:05:31 +03:00
show_icc.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
show_mcidas.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_001_archive.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_000_sanity.py fix 2.6 tests by replacing usages of deprecated fromstring/tostring with frombytes/tobytes 2013-02-26 16:28:34 +06:00
test_bmp_reference.py TST: fix failing BMP tests on Windows 2014-03-20 01:16:31 -07:00
test_cffi.py Skip CFFI test earlier if it's not installed 2014-02-04 21:45:34 -08:00
test_file_bmp.py Test for #495, writing to bytesio 2014-01-22 20:40:37 -08:00
test_file_eps.py Added test and testfile for issue #302 2014-05-14 23:14:55 +02:00
test_file_fli.py py3k: Add .FLI sanity check, and fix palette bytes bug 2013-01-10 08:47:01 -06:00
test_file_gif.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_file_icns.py 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
test_file_ico.py Test for ICO corrected 2013-06-05 21:38:20 +04:00
test_file_jpeg.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_file_jpeg2k.py Ignore spurious messages from OpenJPEG. 2014-03-27 08:36:15 +00:00
test_file_libtiff_small.py removing libtiff compression based decoder names 2013-11-21 21:10:17 -08:00
test_file_libtiff.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_file_msp.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_file_pcx.py Tests for issue #523 2014-03-03 23:05:50 -08:00
test_file_pdf.py Fix bytes/str and reinstate test 2014-05-12 14:45:54 +03:00
test_file_png.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_file_ppm.py Tests for writing hi bit pgm 2014-04-07 22:22:42 -07:00
test_file_psd.py py3k: Add Photoshop sanity check 2013-01-10 08:47:01 -06:00
test_file_spider.py More spider tests 2014-05-26 21:00:20 +03:00
test_file_tar.py test_file_tar: skip if codecs are not available. 2013-04-21 10:04:58 +02:00
test_file_tiff_metadata.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_file_tiff.py Tests for #614 2014-04-14 06:13:57 -07:00
test_file_webp_alpha.py tests for #491/492, webp lossless abi 2014-01-20 13:05:30 -08:00
test_file_webp_lossless.py tests for #491/492, webp lossless abi 2014-01-20 13:05:30 -08:00
test_file_webp_metadata.py Test for PR#498 2014-01-20 10:59:30 -08:00
test_file_webp.py tests for #491/492, webp lossless abi 2014-01-20 13:05:30 -08:00
test_file_xbm.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_file_xpm.py py3k: Add XPM read test 2013-01-10 08:47:03 -06:00
test_font_bdf.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_font_pcf.py 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
test_format_lab.py Shifting the midpoint of the ab channels to 128. unshifting back to signed int on pack 2013-10-15 22:06:30 -07:00
test_image_array.py Fix tests which are hardcoded for little-endian CPUs 2013-04-07 19:02:11 +02:00
test_image_convert.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_image_copy.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_crop.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_draft.py test_image_draft: skip if no JPEG support. 2013-04-21 10:27:27 +02:00
test_image_filter.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_image_frombytes.py fix 2.6 tests by replacing usages of deprecated fromstring/tostring with frombytes/tobytes 2013-02-26 16:28:34 +06:00
test_image_getbands.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_getbbox.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_getcolors.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_getdata.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_getextrema.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_getim.py py3k: Backport Gohlke's tests to run on 2.6/2.7 2013-01-10 08:46:39 -06:00
test_image_getpalette.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_getpixel.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_image_getprojection.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_histogram.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_load.py tests for close and context manager 2014-04-17 22:01:55 -07:00
test_image_mode.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_image_offset.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_image_paste.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_point.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_image_putalpha.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_putdata.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_putpalette.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_putpixel.py Ensuring c-api access 2014-01-05 21:36:13 -08:00
test_image_quantize.py Tests for #544 2014-03-25 21:42:40 -07:00
test_image_resize.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_rotate.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_save.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_seek.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_show.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_split.py Support (most of) test_image_split without PNG. 2013-04-21 10:18:32 +02:00
test_image_tell.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_thumbnail.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_tobitmap.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_image_tobytes.py fix 2.6 tests by replacing usages of deprecated fromstring/tostring with frombytes/tobytes 2013-02-26 16:28:34 +06:00
test_image_transform.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_image_transpose.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_image_verify.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_imagechops.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagecms.py Add more tests for ImageCms 2014-06-02 13:19:01 +03:00
test_imagecolor.py Clarified Test Validity 2014-03-17 13:29:44 -07:00
test_imagedraw.py Skip test_floodfill_border() on PyPy to avoid fatal error 2014-06-06 08:02:18 +03:00
test_imageenhance.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagefile.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_imagefileio.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_imagefilter.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagefont.py Add tests for rotated and non-rotated transposed font 2013-10-17 17:36:38 +03:00
test_imagegrab.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagemath.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagemode.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imageops_usm.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imageops.py Generalizing pterk's ZeroDivisionError fix for 1px images 2013-07-01 12:36:46 +01:00
test_imagepalette.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_imagepath.py fixed deprecation warnings for tostring on array.array 2013-05-23 10:33:27 -07:00
test_imageqt.py removed debugging prints 2013-11-20 22:43:39 -08:00
test_imagesequence.py Cleanup WS, courtesy of @Arfrever 2013-06-30 18:42:19 -04:00
test_imageshow.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagestat.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagetk.py OSError catching in the test as well 2014-03-26 13:31:20 -07:00
test_imagetransform.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagewin.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_lib_image.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_lib_pack.py Added tests for new 16 bit raw unpackers 2013-10-15 14:10:11 -04:00
test_locale.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_mode_i16.py Remove temporary forced failure 2014-04-11 10:59:58 +03:00
test_numpy.py Replace python-imaging with python-pillow (but yet not Coveralls) 2014-06-03 13:02:44 +03:00
test_olefileio.py Fix typo and update test 2014-04-14 00:27:08 +03:00
test_pickle.py Remove temp test code 2014-04-26 20:41:01 +03:00
tester.py Merge from current master 2014-05-20 11:47:53 -07:00
threaded_save.py MAINT: s/while 1:/while True:/ 2014-01-07 21:21:24 -05:00
versions.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00

Minimalistic PIL test framework.

Test scripts are named "test_xxx" and are supposed to output "ok". That's it. To run the tests::

    python setup.py develop

Run the tests from the root of the Pillow source distribution:

    python selftest.py
    python Tests/run.py --installed

To run an individual test:

    python Tests/test_image.py