Skip to content

Commit 2f29d80

Browse files
committed
fix SyntaxWarning in test_join_windows.py
1 parent b44e834 commit 2f29d80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_pathlib/test_join_windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_div(self):
5454
self.assertEqual(p / 'x/y', P(r'C:/a/b\x/y'))
5555
self.assertEqual(p / 'x' / 'y', P(r'C:/a/b\x\y'))
5656
self.assertEqual(p / '/x/y', P('C:/x/y'))
57-
self.assertEqual(p / '/x' / 'y', P('C:/x\y'))
57+
self.assertEqual(p / '/x' / 'y', P(r'C:/x\y'))
5858
# Joining with a different drive => the first path is ignored, even
5959
# if the second path is relative.
6060
self.assertEqual(p / 'D:x/y', P('D:x/y'))

0 commit comments

Comments
 (0)