mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Merge pull request #992 from hugovk/testimagingstretch
Make test_imaging_stretch.py runnable as a standalone script
This commit is contained in:
commit
9dfa515637
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user