Pillow/Tests
2013-05-21 21:55:58 -04: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 added tests to cover save of four different png transparencies 2013-03-26 11:24:07 +01:00
bench_get.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
cms_test.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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
make_hash.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
README.txt Add test instructions from Mark Sienkiewicz 2013-03-15 16:47:14 -04:00
run.py Use proper tempdir for temporary test files. 2013-04-21 11:05:31 +02: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_file_bmp.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_file_ico.py py3k: Add Windows icon sanity test 2013-01-10 08:47:04 -06:00
test_file_jpeg.py Code to ensure buffer space for exif write and jpeg_write_scanline calls, tests, corrected buffer length calculation 2013-05-14 22:29:31 -07:00
test_file_libtiff_small.py rename to include libtiff 2013-04-21 13:53:43 -07:00
test_file_libtiff.py Split tiff tests so that test_file_tiff tests the builtins, and test_file_libtiff tests only things that depend on libtiff 2013-04-21 13:51:16 -07:00
test_file_msp.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_file_pcx.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_file_png.py added tests to cover save of four different png transparencies 2013-03-26 11:24:07 +01:00
test_file_ppm.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_file_psd.py py3k: Add Photoshop sanity check 2013-01-10 08:47:01 -06: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.py add assert to test 2013-05-07 23:49:45 +03:00
test_file_webp.py fixing deferring the rgba tests, whitespace 2013-05-13 22:21:52 -07: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 test_font_pcf: skip if zlib is not available. 2013-04-21 10:30:59 +02: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_mode.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_offset.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_paste.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_point.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_quantize.py backport PIL's PNG/Zip improvements 2013-03-11 20:33:04 +01: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_transpose.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image_verify.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_image.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagechops.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagecms.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagecolor.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagedraw.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imageenhance.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagefile.py test_imagefile: handle missing PNG & JPEG encoders gracefully. 2013-04-21 10:13:33 +02:00
test_imagefileio.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagefilter.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagefont.py Added font rendering tests 2013-04-25 21:58:04 -07:00
test_imagegl.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagepalette.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagepath.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imageqt.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_imagesequence.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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 Fix tests which are hardcoded for little-endian CPUs 2013-04-07 19:02:11 +02:00
test_mode_i16.py Fix tests which are hardcoded for little-endian CPUs 2013-04-07 19:02:11 +02:00
test_numpy.py Adding a test of fromarray that exercises the if strides is not None block. 2013-05-21 21:55:58 -04:00
tester.py Use proper tempdir for temporary test files. 2013-04-21 11:05:31 +02:00
threaded_save.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06: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