diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-25 14:39:58 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-03-25 14:39:58 (GMT) |
| commit | 53b542fe30467aab7b8e396a33b1466b3d70e06a (patch) | |
| tree | bdc3b677cd30a14212cc2cb8bf64a999ee5c551e /Lib/test/test_ntpath.py | |
| parent | f95a57f9a19a4e593e87f34a5358372d5b6d08e8 (diff) | |
| download | cpython-53b542fe30467aab7b8e396a33b1466b3d70e06a.zip cpython-53b542fe30467aab7b8e396a33b1466b3d70e06a.tar.gz cpython-53b542fe30467aab7b8e396a33b1466b3d70e06a.tar.bz2 | |
Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.
Diffstat (limited to 'Lib/test/test_ntpath.py')
| -rw-r--r-- | Lib/test/test_ntpath.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_ntpath.py b/Lib/test/test_ntpath.py index 55da7e1..b9a4c90 100644 --- a/Lib/test/test_ntpath.py +++ b/Lib/test/test_ntpath.py @@ -206,6 +206,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(test_support.FS_NONASCII, 'need test_support.FS_NONASCII') def test_expandvars_nonascii(self): |
