diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-16 12:34:55 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-16 12:34:55 (GMT) |
commit | 3d7e11520e5993b2adf9b809a8342084053988ae (patch) | |
tree | 7afaf493934ca1a490aae0379ba55c78c0cf4ca8 /Lib/test/test_ntpath.py | |
parent | 8a1d1e647eb133cb1687e183dc0aefa7e2f02fdb (diff) | |
download | cpython-3d7e11520e5993b2adf9b809a8342084053988ae.zip cpython-3d7e11520e5993b2adf9b809a8342084053988ae.tar.gz cpython-3d7e11520e5993b2adf9b809a8342084053988ae.tar.bz2 |
Issue #19911: ntpath.splitdrive() now correctly processes the 'İ' character
(U+0130, LATIN CAPITAL LETTER I WITH DOT ABOVE).
Diffstat (limited to 'Lib/test/test_ntpath.py')
-rw-r--r-- | Lib/test/test_ntpath.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_ntpath.py b/Lib/test/test_ntpath.py index 309d59a..94c57b2 100644 --- a/Lib/test/test_ntpath.py +++ b/Lib/test/test_ntpath.py @@ -66,6 +66,9 @@ class TestNtpath(unittest.TestCase): ('', '\\\\conky\\\\mountpoint\\foo\\bar')) tester('ntpath.splitdrive("//conky//mountpoint/foo/bar")', ('', '//conky//mountpoint/foo/bar')) + # Issue #19911: UNC part containing U+0130 + self.assertEqual(ntpath.splitdrive('//conky/MOUNTPOİNT/foo/bar'), + ('//conky/MOUNTPOİNT', '/foo/bar')) def test_split(self): tester('ntpath.split("c:\\foo\\bar")', ('c:\\foo', 'bar')) |