Skip to content

Commit 539f3fe

Browse files
committed
Add __main__ code
1 parent ca80944 commit 539f3fe

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

importlib_resources/tests/test_path.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,7 @@ class PathDiskTests(PathTests, unittest.TestCase):
3636

3737
class PathZipTests(PathTests, util.ZipSetup, unittest.TestCase):
3838
pass
39+
40+
41+
if __name__ == '__main__':
42+
unittest.main()

importlib_resources/tests/test_read.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ class ReadDiskTests(ReadTests, unittest.TestCase):
3838

3939
class ReadZipTests(ReadTests, util.ZipSetup, unittest.TestCase):
4040
pass
41+
42+
43+
if __name__ == '__main__':
44+
unittest.main()

0 commit comments

Comments
 (0)