diff options
author | Hynek Schlawack <hs@ox.cx> | 2012-07-17 14:29:33 +0200 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2012-07-17 14:29:33 +0200 |
commit | 71a97cf0dda2e9bae0e7d5f72e8f575282b92221 (patch) | |
tree | e67a246f49ab4850d252a9c71a0d4dccbe6810b0 | |
parent | 56105be4ca0c3c3de45de2f463f5e56213f14e60 (diff) | |
parent | 39a9147ccf7a502cc43579e6cc5438e96ef2ad78 (diff) | |
download | cpython-71a97cf0dda2e9bae0e7d5f72e8f575282b92221.tar.gz |
Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
-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 060fdc3fd4..7aca87d35c 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]) |