summaryrefslogtreecommitdiff
path: root/setuptools/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-11-13 13:54:50 -0500
committerJason R. Coombs <jaraco@jaraco.com>2022-11-13 14:05:49 -0500
commit515c0ae334c30d03bccf2670fd2a56e8ab85945d (patch)
treecb240f387f039dd963d28eb3566b86dcbd010d23 /setuptools/tests
parente577474fe9ad747232c5d9f99d941f13d6a8f50f (diff)
downloadpython-setuptools-git-515c0ae334c30d03bccf2670fd2a56e8ab85945d.tar.gz
Skip test under xdist as it fails after migrating to Python logging. Ref pypa/distutils#183. Workaround for pytest/pytest-xdist#843.
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_sdist.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/test_sdist.py b/setuptools/tests/test_sdist.py
index 5193066e..adf4325d 100644
--- a/setuptools/tests/test_sdist.py
+++ b/setuptools/tests/test_sdist.py
@@ -322,6 +322,10 @@ class TestSdistTest:
# The filelist should have been updated as well
assert u_filename in mm.filelist.files
+ @pytest.mark.skipif(
+ "os.environ.get('PYTEST_XDIST_WORKER')",
+ reason="pytest-dev/pytest-xdist#843",
+ )
def test_write_manifest_skips_non_utf8_filenames(self):
"""
Files that cannot be encoded to UTF-8 (specifically, those that