summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ntpath.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-25 14:39:58 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-25 14:39:58 (GMT)
commit53b542fe30467aab7b8e396a33b1466b3d70e06a (patch)
treebdc3b677cd30a14212cc2cb8bf64a999ee5c551e /Lib/test/test_ntpath.py
parentf95a57f9a19a4e593e87f34a5358372d5b6d08e8 (diff)
downloadcpython-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.py1
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):