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 340cc07 commit abdb8d8Copy full SHA for abdb8d8
Lib/test/test_ntpath.py
@@ -808,7 +808,7 @@ def test_abspath(self):
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")))
811
- self.assertEqual(ntpath.abspath("\x00:spam"), "\x00:\\spam")
+ self.assertTrue(ntpath.isabs(ntpath.abspath("\x00:spam")))
812
tester('ntpath.abspath("//..")', "\\\\")
813
tester('ntpath.abspath("//../")', "\\\\..\\")
814
tester('ntpath.abspath("//../..")', "\\\\..\\")
0 commit comments