projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb2331
)
Use posixpath.join() explicitely in posixpath.join() test
author
Hynek Schlawack
<hs@ox.cx>
Tue, 17 Jul 2012 12:28:44 +0000
(14:28 +0200)
committer
Hynek Schlawack
<hs@ox.cx>
Tue, 17 Jul 2012 12:28:44 +0000
(14:28 +0200)
Used os.path.join before which has different semantics on Windows.
Lib/test/test_posixpath.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_posixpath.py
b/Lib/test/test_posixpath.py
index 89c4f9e99da123a1cdbf7b9e01b8660cc74dc964..599c85a4771afcb47a33030e8fee197508f64ce0 100644
(file)
--- 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')
+
posix
path.join(None, 'str')
self.assertNotEqual("Can't mix strings and bytes in path components.",
cm.exception.args[0])