diff options
author | Nice Zombies <nineteendo19d0@gmail.com> | 2024-11-21 14:43:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-21 14:43:36 (GMT) |
commit | 60ec854bc297e04718fe13db3605d0465bf8badb (patch) | |
tree | 98e06da03433b3e10b0ad9ac181bded4cbd6ba48 /Lib/test/test_posixpath.py | |
parent | 0c5556fcb7315f26aa4b192e341cb2a72bb78f41 (diff) | |
download | cpython-60ec854bc297e04718fe13db3605d0465bf8badb.zip cpython-60ec854bc297e04718fe13db3605d0465bf8badb.tar.gz cpython-60ec854bc297e04718fe13db3605d0465bf8badb.tar.bz2 |
gh-126780: Fix `ntpath.normpath()` for drive-relative paths (GH-126801)
Diffstat (limited to 'Lib/test/test_posixpath.py')
-rw-r--r-- | Lib/test/test_posixpath.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py index b39255eb..43e4fbc 100644 --- a/Lib/test/test_posixpath.py +++ b/Lib/test/test_posixpath.py @@ -379,6 +379,7 @@ class PosixPathTest(unittest.TestCase): ("/.", "/"), ("/./", "/"), ("/.//.", "/"), + ("/./foo/bar", "/foo/bar"), ("/foo", "/foo"), ("/foo/bar", "/foo/bar"), ("//", "//"), @@ -388,6 +389,7 @@ class PosixPathTest(unittest.TestCase): ("///..//./foo/.//bar", "/foo/bar"), (".", "."), (".//.", "."), + ("./foo/bar", "foo/bar"), ("..", ".."), ("../", ".."), ("../foo", "../foo"), |