mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.
This commit is contained in:
parent
81f241ab2e
commit
1b87ae0c91
3 changed files with 4 additions and 1 deletions
|
@ -237,6 +237,7 @@ class TestNtpath(unittest.TestCase):
|
|||
tester('ntpath.expandvars("%?bar%")', "%?bar%")
|
||||
tester('ntpath.expandvars("%foo%%bar")', "bar%bar")
|
||||
tester('ntpath.expandvars("\'%foo%\'%bar")', "\'%foo%\'%bar")
|
||||
tester('ntpath.expandvars("bar\'%foo%")', "bar\'%foo%")
|
||||
|
||||
@unittest.skipUnless(support.FS_NONASCII, 'need support.FS_NONASCII')
|
||||
def test_expandvars_nonascii(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue