summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2012-07-17 12:29:33 (GMT)
committerHynek Schlawack <hs@ox.cx>2012-07-17 12:29:33 (GMT)
commit11718620ef87268fae07ba0809fec63b9c6d15e3 (patch)
treeac2bce6f81b471a75e6f8fe65de5ac8de26e07ae /Lib
parentf90fc68db479b5a6eef53840224a0a468ee0e3cd (diff)
parent0b350c6b3e6c811a4634ee468acc6cc477b6ae30 (diff)
downloadcpython-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')
-rw-r--r--Lib/test/test_posixpath.py2
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])