summaryrefslogtreecommitdiff
path: root/Lib/test/test_sysconfig.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-01-28 16:58:00 +0200
committerBerker Peksag <berker.peksag@gmail.com>2016-01-28 16:58:00 +0200
commit0b7f32ea5ceb8d4d7af4e9f68835fe65f8a7cd95 (patch)
tree92417e7025056979a85aef679798996626cc01c7 /Lib/test/test_sysconfig.py
parenta6f051d70022c670d4bb41cd98b90dd5aa794207 (diff)
downloadcpython-0b7f32ea5ceb8d4d7af4e9f68835fe65f8a7cd95.tar.gz
Issue #24705: Add a test case for ef84d21f5292
Diffstat (limited to 'Lib/test/test_sysconfig.py')
-rw-r--r--Lib/test/test_sysconfig.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 0917c3e260..a23bf06af8 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -421,6 +421,8 @@ class MakefileTests(unittest.TestCase):
print("var3=42", file=makefile)
print("var4=$/invalid", file=makefile)
print("var5=dollar$$5", file=makefile)
+ print("var6=${var3}/lib/python3.5/config-$(VAR2)$(var5)"
+ "-x86_64-linux-gnu", file=makefile)
vars = sysconfig._parse_makefile(TESTFN)
self.assertEqual(vars, {
'var1': 'ab42',
@@ -428,6 +430,7 @@ class MakefileTests(unittest.TestCase):
'var3': 42,
'var4': '$/invalid',
'var5': 'dollar$5',
+ 'var6': '42/lib/python3.5/config-b42dollar$5-x86_64-linux-gnu',
})