diff options
author | Hynek Schlawack <hs@ox.cx> | 2012-07-17 12:29:33 (GMT) |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2012-07-17 12:29:33 (GMT) |
commit | 11718620ef87268fae07ba0809fec63b9c6d15e3 (patch) | |
tree | ac2bce6f81b471a75e6f8fe65de5ac8de26e07ae /Lib/test | |
parent | f90fc68db479b5a6eef53840224a0a468ee0e3cd (diff) | |
parent | 0b350c6b3e6c811a4634ee468acc6cc477b6ae30 (diff) | |
download | cpython-11718620ef87268fae07ba0809fec63b9c6d15e3.zip cpython-11718620ef87268fae07ba0809fec63b9c6d15e3.tar.gz cpython-11718620ef87268fae07ba0809fec63b9c6d15e3.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')
-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 060fdc3..7aca87d 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]) |