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 85e1b5a commit 8dd234eCopy full SHA for 8dd234e
Lib/test/test_ntpath.py
@@ -353,6 +353,8 @@ def test_normpath(self):
353
tester("ntpath.normpath('c:/')", 'c:\\')
354
tester("ntpath.normpath('/../.././..')", '\\')
355
tester("ntpath.normpath('c:/../../..')", 'c:\\')
356
+ tester("ntpath.normpath('/./a/b')", r'\a\b')
357
+ tester("ntpath.normpath('c:/./a/b')", r'c:\a\b')
358
tester("ntpath.normpath('../.././..')", r'..\..\..')
359
tester("ntpath.normpath('K:../.././..')", r'K:..\..\..')
360
tester("ntpath.normpath('./a/b')", r'a\b')
0 commit comments