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 f46b0cc commit 6790a15Copy full SHA for 6790a15
Lib/test/test_ntpath.py
@@ -807,7 +807,7 @@ def test_abspath(self):
807
tester('ntpath.abspath("C:/nul")', "\\\\.\\nul")
808
tester('ntpath.abspath("C:\\nul")', "\\\\.\\nul")
809
self.assertTrue(ntpath.isabs(ntpath.abspath("C:spam")))
810
- self.assertTrue(ntpath.isabs(ntpath.abspath("C:\x00")))
+ self.assertEqual(ntpath.abspath("C:\x00"), ntpath.join(ntpath.abspath("C:"), "spam"))
811
self.assertEqual(ntpath.abspath("\x00:spam"), "\x00:\\spam")
812
tester('ntpath.abspath("//..")', "\\\\")
813
tester('ntpath.abspath("//../")', "\\\\..\\")
0 commit comments