diff options
author | Hynek Schlawack <hs@ox.cx> | 2012-07-17 12:28:44 (GMT) |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2012-07-17 12:28:44 (GMT) |
commit | 0b350c6b3e6c811a4634ee468acc6cc477b6ae30 (patch) | |
tree | 9b3f7a7a3bd7a9e3b2e46bbf215a4b83e925e619 /Lib/test/test_posixpath.py | |
parent | ceb23316c85022541bac39c7ce814a659c7e1962 (diff) | |
download | cpython-0b350c6b3e6c811a4634ee468acc6cc477b6ae30.zip cpython-0b350c6b3e6c811a4634ee468acc6cc477b6ae30.tar.gz cpython-0b350c6b3e6c811a4634ee468acc6cc477b6ae30.tar.bz2 |
Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r-- | Lib/test/test_posixpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py index 89c4f9e..599c85a 100644 --- a/Lib/test/test_posixpath.py +++ b/Lib/test/test_posixpath.py @@ -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]) |