Skip to content

Commit 515c0ae

Browse files
committed
Skip test under xdist as it fails after migrating to Python logging. Ref pypa/distutils#183. Workaround for pytest/pytest-xdist#843.
1 parent e577474 commit 515c0ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setuptools/tests/test_sdist.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ def test_write_manifest_allows_utf8_filenames(self):
322322
# The filelist should have been updated as well
323323
assert u_filename in mm.filelist.files
324324

325+
@pytest.mark.skipif(
326+
"os.environ.get('PYTEST_XDIST_WORKER')",
327+
reason="pytest-dev/pytest-xdist#843",
328+
)
325329
def test_write_manifest_skips_non_utf8_filenames(self):
326330
"""
327331
Files that cannot be encoded to UTF-8 (specifically, those that

0 commit comments

Comments
 (0)