We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b44e834 commit 2f29d80Copy full SHA for 2f29d80
Lib/test/test_pathlib/test_join_windows.py
@@ -54,7 +54,7 @@ def test_div(self):
54
self.assertEqual(p / 'x/y', P(r'C:/a/b\x/y'))
55
self.assertEqual(p / 'x' / 'y', P(r'C:/a/b\x\y'))
56
self.assertEqual(p / '/x/y', P('C:/x/y'))
57
- self.assertEqual(p / '/x' / 'y', P('C:/x\y'))
+ self.assertEqual(p / '/x' / 'y', P(r'C:/x\y'))
58
# Joining with a different drive => the first path is ignored, even
59
# if the second path is relative.
60
self.assertEqual(p / 'D:x/y', P('D:x/y'))
0 commit comments