summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sysconfig.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2010-09-20 15:29:53 (GMT)
committerBarry Warsaw <barry@python.org>2010-09-20 15:29:53 (GMT)
commitebbef6fef2e1c70aaa23ee27dcfc237545dee5d5 (patch)
tree3db4f4633663af56b9db644cb4f7ff4830bbe42f /Lib/test/test_sysconfig.py
parent18cc344c0f98e6b2fe9d7181ae8f1aaa5bcca430 (diff)
downloadcpython-ebbef6fef2e1c70aaa23ee27dcfc237545dee5d5.zip
cpython-ebbef6fef2e1c70aaa23ee27dcfc237545dee5d5.tar.gz
cpython-ebbef6fef2e1c70aaa23ee27dcfc237545dee5d5.tar.bz2
Issue 9877: expose sysconfig.get_makefile_filename() in the public API.
Diffstat (limited to 'Lib/test/test_sysconfig.py')
-rw-r--r--Lib/test/test_sysconfig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 0538592..e509989 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -234,6 +234,10 @@ class TestSysConfig(unittest.TestCase):
config_h = sysconfig.get_config_h_filename()
self.assertTrue(os.path.isfile(config_h), config_h)
+ def test_get_makefile_filename(self):
+ makefile = sysconfig.get_makefile_filename()
+ self.assertTrue(os.path.isfile(makefile), makefile)
+
def test_get_scheme_names(self):
wanted = ('nt', 'nt_user', 'os2', 'os2_home', 'osx_framework_user',
'posix_home', 'posix_prefix', 'posix_user')