Add test runner

This commit is contained in:
Alex Clark 2014-06-09 20:03:57 -04:00
parent 1d96522932
commit b7f94e3609
3 changed files with 4 additions and 1 deletions

View File

@ -680,7 +680,7 @@ setup(
include_package_data=True,
packages=find_packages(),
scripts=glob.glob("Scripts/pil*.py"),
test_suite='PIL.tests',
test_suite='test.helper.TestSuite',
keywords=["Imaging",],
license='Standard PIL License',
zip_safe=True,

0
test/__init__.py Normal file
View File

View File

@ -308,3 +308,6 @@ def lena(mode="RGB", cache={}):
#
#
# _setup()
TestLoader = unittest.TestLoader()
TestSuite = TestLoader.discover(start_dir='.')