diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-10 01:29:45 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-10 01:29:45 (GMT) |
commit | 11b3a6056fd67862311f3992bfea5442ef011821 (patch) | |
tree | d2fe654859a42fe38f6311f09789c4df7d3f13bb /Lib/test/test_posixpath.py | |
parent | f424f3856da382e0d430692e09a0da07e7d8d02a (diff) | |
parent | d0dfe9ad463f5d3a76af23df8bfd9c9d1915b328 (diff) | |
download | cpython-11b3a6056fd67862311f3992bfea5442ef011821.zip cpython-11b3a6056fd67862311f3992bfea5442ef011821.tar.gz cpython-11b3a6056fd67862311f3992bfea5442ef011821.tar.bz2 |
#16852: merge with 3.3.
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r-- | Lib/test/test_posixpath.py | 8 |
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() |