Skip to content

Commit

Permalink
Merge pull request #134 from mgorny/non-cpy-makefile
Browse files Browse the repository at this point in the history
Skip test_get_makefile_filename on non-CPython
  • Loading branch information
jaraco authored Apr 10, 2022
2 parents ee180a7 + c76269b commit 5229dad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions distutils/tests/test_sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ def test_get_config_h_filename(self):

@unittest.skipIf(sys.platform == 'win32',
'Makefile only exists on Unix like systems')
@unittest.skipIf(sys.implementation.name != 'cpython',
'Makefile only exists in CPython')
def test_get_makefile_filename(self):
makefile = sysconfig.get_makefile_filename()
self.assertTrue(os.path.isfile(makefile), makefile)
Expand Down

0 comments on commit 5229dad

Please sign in to comment.