From 3ff4b540503e9fb875fa02b622a54087ff5946d4 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 12 Nov 2018 19:54:26 +1100 Subject: [PATCH] Added __main__ code --- Tests/test_core_resources.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/test_core_resources.py b/Tests/test_core_resources.py index 11f26d38e..fd8fb4244 100644 --- a/Tests/test_core_resources.py +++ b/Tests/test_core_resources.py @@ -179,3 +179,7 @@ class TestEnvVars(PillowTestCase): self.assert_warning( UserWarning, Image._apply_env_variables, {'PILLOW_BLOCKS_MAX': 'wat'}) + + +if __name__ == '__main__': + unittest.main()