Make test_imaging_stretch.py runnable as a standalone script

This commit is contained in:
Hugo 2014-11-06 11:49:30 +02:00
parent 6d7c010bed
commit 675371b9b1

View File

@ -38,3 +38,9 @@ class TestImagingStretch(PillowTestCase):
r = im.im.stretch((764, 414), f)
self.assertEqual(r.mode, "RGB")
self.assertEqual(r.size, (764, 414))
if __name__ == '__main__':
unittest.main()
# End of file