From a07de2b9364d5aa618c78c3ad60312963abfa7ba Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 3 Sep 2024 14:01:34 -0400 Subject: [PATCH] Skip test on stdlib distutils --- setuptools/tests/test_sdist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py index be48ce2c7e..30347190db 100644 --- a/setuptools/tests/test_sdist.py +++ b/setuptools/tests/test_sdist.py @@ -823,6 +823,7 @@ def get_source_files(self): manifest = cmd.filelist.files assert '.myfile~' in manifest + @pytest.mark.skipif("os.environ.get('SETUPTOOLS_USE_DISTUTILS') == 'stdlib'") def test_build_base_pathlib(self, source_dir): """ Ensure if build_base is a pathlib.Path, the build still succeeds.