Skip to content

Commit 5229dad

Browse files
authored
Merge pull request #134 from mgorny/non-cpy-makefile
Skip test_get_makefile_filename on non-CPython
2 parents ee180a7 + c76269b commit 5229dad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

distutils/tests/test_sysconfig.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def test_get_config_h_filename(self):
4040

4141
@unittest.skipIf(sys.platform == 'win32',
4242
'Makefile only exists on Unix like systems')
43+
@unittest.skipIf(sys.implementation.name != 'cpython',
44+
'Makefile only exists in CPython')
4345
def test_get_makefile_filename(self):
4446
makefile = sysconfig.get_makefile_filename()
4547
self.assertTrue(os.path.isfile(makefile), makefile)

0 commit comments

Comments
 (0)