Commit 0b350c6b authored by Hynek Schlawack's avatar Hynek Schlawack

Use posixpath.join() explicitely in posixpath.join() test

Used os.path.join before which has different semantics on Windows.
parent ceb23316
......@@ -69,7 +69,7 @@ class PosixPathTest(unittest.TestCase):
"Can't mix strings and bytes in path components.")
# regression, see #15377
with self.assertRaises(TypeError) as cm:
os.path.join(None, 'str')
posixpath.join(None, 'str')
self.assertNotEqual("Can't mix strings and bytes in path components.",
cm.exception.args[0])
......
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