summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_macpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_macpath.py')
-rw-r--r--Lib/test/test_macpath.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/test/test_macpath.py b/Lib/test/test_macpath.py
index d732e14..ae4e564 100644
--- a/Lib/test/test_macpath.py
+++ b/Lib/test/test_macpath.py
@@ -115,13 +115,9 @@ class MacPathTestCase(unittest.TestCase):
self.assertEqual(normpath(b"a:b:"), b"a:b")
-class MacCommonTest(test_genericpath.CommonTest):
+class MacCommonTest(test_genericpath.CommonTest, unittest.TestCase):
pathmodule = macpath
-def test_main():
- support.run_unittest(MacPathTestCase, MacCommonTest)
-
-
if __name__ == "__main__":
- test_main()
+ unittest.main()