Skip to content

Commit 8dd234e

Browse files
committed
Add more tests
1 parent 85e1b5a commit 8dd234e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_ntpath.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ def test_normpath(self):
353353
tester("ntpath.normpath('c:/')", 'c:\\')
354354
tester("ntpath.normpath('/../.././..')", '\\')
355355
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')
356358
tester("ntpath.normpath('../.././..')", r'..\..\..')
357359
tester("ntpath.normpath('K:../.././..')", r'K:..\..\..')
358360
tester("ntpath.normpath('./a/b')", r'a\b')

0 commit comments

Comments
 (0)