Skip to content

Commit cf3602f

Browse files
committedMay 3, 2023
test: skip a test that crashes setuptools>66
1 parent f108ea2 commit cf3602f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎tests/test_process.py

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import glob
99
import os
1010
import os.path
11+
import platform
1112
import re
1213
import stat
1314
import sys
@@ -837,6 +838,12 @@ def test_coverage_custom_script(self) -> None:
837838
assert "hello-xyzzy" in out
838839

839840
@pytest.mark.skipif(env.WINDOWS, reason="Windows can't make symlinks")
841+
@pytest.mark.skipif(
842+
platform.python_version().endswith("+"),
843+
reason="setuptools barfs on dev versions: https://github.com/pypa/packaging/issues/678"
844+
# https://github.com/nedbat/coveragepy/issues/1556
845+
# TODO: get rid of pkg_resources
846+
)
840847
def test_bug_862(self) -> None:
841848
# This simulates how pyenv and pyenv-virtualenv end up creating the
842849
# coverage executable.

0 commit comments

Comments
 (0)
Please sign in to comment.