Kaydet (Commit) 985478db authored tarafından Florent Xicluna's avatar Florent Xicluna

Minor tweaking of previous r78734, and add a NEWS entry.

üst dc1531c5
This diff is collapsed.
...@@ -56,7 +56,7 @@ class MacPathTestCase(unittest.TestCase): ...@@ -56,7 +56,7 @@ class MacPathTestCase(unittest.TestCase):
'normpath() returned str instead of unicode') 'normpath() returned str instead of unicode')
class MacCommonTest(test_genericpath.CommonTest): class MacCommonTest(test_genericpath.CommonTest):
path = macpath pathmodule = macpath
def test_main(): def test_main():
......
...@@ -178,7 +178,7 @@ class TestNtpath(unittest.TestCase): ...@@ -178,7 +178,7 @@ class TestNtpath(unittest.TestCase):
class NtCommonTest(test_genericpath.CommonTest): class NtCommonTest(test_genericpath.CommonTest):
path = ntpath pathmodule = ntpath
attributes = ['relpath', 'splitunc'] attributes = ['relpath', 'splitunc']
......
...@@ -327,7 +327,7 @@ class PosixPathTest(unittest.TestCase): ...@@ -327,7 +327,7 @@ class PosixPathTest(unittest.TestCase):
class PosixCommonTest(test_genericpath.CommonTest): class PosixCommonTest(test_genericpath.CommonTest):
path = posixpath pathmodule = posixpath
attributes = ['relpath', 'samefile', 'sameopenfile', 'samestat'] attributes = ['relpath', 'samefile', 'sameopenfile', 'samestat']
......
...@@ -126,6 +126,9 @@ Extension Modules ...@@ -126,6 +126,9 @@ Extension Modules
Tests Tests
----- -----
- The four path modules (genericpath, macpath, ntpath, posixpath) share a
common TestCase for some tests: test_genericpath.CommonTest.
- Print platform information when running the whole test suite, or using - Print platform information when running the whole test suite, or using
the --verbose flag. the --verbose flag.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment