diff options
Diffstat (limited to 'Lib/test/test_grp.py')
-rwxr-xr-x | Lib/test/test_grp.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/test/test_grp.py b/Lib/test/test_grp.py index 1edb4173d4..a16a922956 100755 --- a/Lib/test/test_grp.py +++ b/Lib/test/test_grp.py @@ -19,4 +19,9 @@ class GroupDatabaseTestCase(unittest.TestCase): entry = grp.getgrnam(self.groups[0][0]) -test_support.run_unittest(GroupDatabaseTestCase) +def test_main(): + test_support.run_unittest(GroupDatabaseTestCase) + + +if __name__ == "__main__": + test_main() |