summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dbm_ndbm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dbm_ndbm.py')
-rwxr-xr-xLib/test/test_dbm_ndbm.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_dbm_ndbm.py b/Lib/test/test_dbm_ndbm.py
index 00dcbd2..f9d3bef 100755
--- a/Lib/test/test_dbm_ndbm.py
+++ b/Lib/test/test_dbm_ndbm.py
@@ -36,8 +36,5 @@ class DbmTestCase(unittest.TestCase):
except error:
self.fail()
-def test_main():
- support.run_unittest(DbmTestCase)
-
if __name__ == '__main__':
- test_main()
+ unittest.main()