Use os.path.isfile for checking if path.is_file, suppresses exception… · pypa/distutils@6852b20

Original file line numberDiff line numberDiff line change

@@ -258,7 +258,6 @@ def test_find_config_files_disable(self, temp_home):

258258

# make sure --no-user-cfg disables the user cfg file

259259

assert len(all_files) - 1 == len(files)

260260
261-

@pytest.mark.xfail(reason="pypa/distutils#181", strict=True)

262261

@pytest.mark.skipif(

263262

'platform.system() == "Windows"',

264263

reason='Windows does not honor chmod 000',