Skip to content

Commit 68bb224

Browse files
authored
Fix test
1 parent 6790a15 commit 68bb224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_ntpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def test_abspath(self):
807807
tester('ntpath.abspath("C:/nul")', "\\\\.\\nul")
808808
tester('ntpath.abspath("C:\\nul")', "\\\\.\\nul")
809809
self.assertTrue(ntpath.isabs(ntpath.abspath("C:spam")))
810-
self.assertEqual(ntpath.abspath("C:\x00"), ntpath.join(ntpath.abspath("C:"), "spam"))
810+
self.assertEqual(ntpath.abspath("C:\x00"), ntpath.join(ntpath.abspath("C:"), "\x00"))
811811
self.assertEqual(ntpath.abspath("\x00:spam"), "\x00:\\spam")
812812
tester('ntpath.abspath("//..")', "\\\\")
813813
tester('ntpath.abspath("//../")', "\\\\..\\")

0 commit comments

Comments
 (0)