Skip to content

Commit

Permalink
Add __main__ code
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Oct 27, 2017
1 parent ca80944 commit 539f3fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions importlib_resources/tests/test_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ class PathDiskTests(PathTests, unittest.TestCase):

class PathZipTests(PathTests, util.ZipSetup, unittest.TestCase):
pass


if __name__ == '__main__':
unittest.main()
4 changes: 4 additions & 0 deletions importlib_resources/tests/test_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ class ReadDiskTests(ReadTests, unittest.TestCase):

class ReadZipTests(ReadTests, util.ZipSetup, unittest.TestCase):
pass


if __name__ == '__main__':
unittest.main()

0 comments on commit 539f3fe

Please sign in to comment.