diff options
author | Hynek Schlawack <hs@ox.cx> | 2012-07-17 14:28:44 +0200 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2012-07-17 14:28:44 +0200 |
commit | 39a9147ccf7a502cc43579e6cc5438e96ef2ad78 (patch) | |
tree | 52762431a491a5e1391fb8a793185e6ecfc8738b /Lib/test/test_posixpath.py | |
parent | 6667735c5243631399330f79b764cfe03b8ee44c (diff) | |
download | cpython-39a9147ccf7a502cc43579e6cc5438e96ef2ad78.tar.gz |
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 89c4f9e99d..599c85a477 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]) |