mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with
more helpful error message for unsupported or mismatched types of arguments.
This commit is contained in:
parent
385328bf76
commit
3deeeb0c39
8 changed files with 135 additions and 89 deletions
|
@ -142,6 +142,8 @@ class MacPathTestCase(unittest.TestCase):
|
|||
class MacCommonTest(test_genericpath.CommonTest, unittest.TestCase):
|
||||
pathmodule = macpath
|
||||
|
||||
test_relpath_errors = None
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue