summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posixpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r--Lib/test/test_posixpath.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py
index c394fd9..43442e5 100644
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -462,14 +462,10 @@ class PosixPathTest(unittest.TestCase):
os.getcwdb = real_getcwdb
-class PosixCommonTest(test_genericpath.CommonTest):
+class PosixCommonTest(test_genericpath.CommonTest, unittest.TestCase):
pathmodule = posixpath
attributes = ['relpath', 'samefile', 'sameopenfile', 'samestat']
-def test_main():
- support.run_unittest(PosixPathTest, PosixCommonTest)
-
-
if __name__=="__main__":
- test_main()
+ unittest.main()