diff --git a/distutils/tests/test_sysconfig.py b/distutils/tests/test_sysconfig.py index 66fb743e..e671f9e0 100644 --- a/distutils/tests/test_sysconfig.py +++ b/distutils/tests/test_sysconfig.py @@ -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)