Skip to content

Commit

Permalink
Skip test under xdist as it fails after migrating to Python logging. …
Browse files Browse the repository at this point in the history
…Ref pypa/distutils#183. Workaround for pytest/pytest-xdist#843.
  • Loading branch information
jaraco committed Nov 13, 2022
1 parent a200702 commit 875588e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setuptools/tests/test_sdist.py
Expand Up @@ -323,6 +323,10 @@ def test_write_manifest_allows_utf8_filenames(self):
# 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
Expand Down

0 comments on commit 875588e

Please sign in to comment.