Commit cd406fc6 authored by Ned Deily's avatar Ned Deily

Issue #15364: Fix test_srcdir for the installed case.

parent 1f80bd3a
......@@ -67,7 +67,8 @@ class SysconfigTestCase(support.EnvironGuard,
self.assertTrue(os.path.exists(Python_h), Python_h)
self.assertTrue(sysconfig._is_python_source_dir(srcdir))
elif os.name == 'posix':
self.assertEqual(sysconfig.get_makefile_filename(), srcdir)
self.assertEqual(os.path.dirname(sysconfig.get_makefile_filename()),
srcdir)
def test_srcdir_independent_of_cwd(self):
# srcdir should be independent of the current working directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment