summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-11-23 08:34:41 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-11-24 06:45:10 -0500
commit3dfa4498abf5885307f921862f7d367166af76a6 (patch)
tree22c97d835fb27868baffea91b68ecee7d35389d8 /tests
parent2f7e38407321c1ce33a8a13cd3fbb7d73be99278 (diff)
downloadpython-coveragepy-git-3dfa4498abf5885307f921862f7d367166af76a6.tar.gz
test(build): a better way to pin light-thread packages
Also, clearly indicate when we are skipping tests because the packages aren't available.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_concurrency.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 0f5b07eb..c37c88be 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -222,6 +222,7 @@ class ConcurrencyTest(CoverageTest):
if expected_cant_trace is not None:
assert out == expected_cant_trace
+ pytest.skip(f"Can't test: {expected_cant_trace}")
else:
# We can fully measure the code if we are using the C tracer, which
# can support all the concurrency, or if we are using threads.