summaryrefslogtreecommitdiff
path: root/Lib/test/test_grp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_grp.py')
-rw-r--r--Lib/test/test_grp.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_grp.py b/Lib/test/test_grp.py
index 749041c281..272b08615d 100644
--- a/Lib/test/test_grp.py
+++ b/Lib/test/test_grp.py
@@ -92,8 +92,5 @@ class GroupDatabaseTestCase(unittest.TestCase):
self.assertRaises(KeyError, grp.getgrgid, fakegid)
-def test_main():
- support.run_unittest(GroupDatabaseTestCase)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()