diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-05-03 10:43:46 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-05-03 10:43:46 -0400 |
commit | cf3602ffa7396d8f784c1a1e814ff24c6c31f793 (patch) | |
tree | d2b724e6e1232144b46efe6d834a8cf3c9d914b7 /tests | |
parent | f108ea21359695530d835f206540e454d3a03053 (diff) | |
download | python-coveragepy-git-cf3602ffa7396d8f784c1a1e814ff24c6c31f793.tar.gz |
test: skip a test that crashes setuptools>66
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_process.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index bdfa3316..e06b86f5 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -8,6 +8,7 @@ from __future__ import annotations import glob import os import os.path +import platform import re import stat import sys @@ -837,6 +838,12 @@ class EnvironmentTest(CoverageTest): assert "hello-xyzzy" in out @pytest.mark.skipif(env.WINDOWS, reason="Windows can't make symlinks") + @pytest.mark.skipif( + platform.python_version().endswith("+"), + reason="setuptools barfs on dev versions: https://github.com/pypa/packaging/issues/678" + # https://github.com/nedbat/coveragepy/issues/1556 + # TODO: get rid of pkg_resources + ) def test_bug_862(self) -> None: # This simulates how pyenv and pyenv-virtualenv end up creating the # coverage executable. |