mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-32010)
This commit is contained in:
parent
bb0b768946
commit
3256b178ed
5 changed files with 137 additions and 8 deletions
|
@ -852,6 +852,8 @@ class PathLikeTests(NtpathTestCase):
|
|||
|
||||
def test_path_normcase(self):
|
||||
self._check_function(self.path.normcase)
|
||||
if sys.platform == 'win32':
|
||||
self.assertEqual(ntpath.normcase('\u03a9\u2126'), 'ωΩ')
|
||||
|
||||
def test_path_isabs(self):
|
||||
self._check_function(self.path.isabs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue