summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-31 19:17:18 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-31 19:17:18 -0400
commita8758a6878553902e8fea05c0a60adcdb55831bf (patch)
treee201e6b7b1a1a791aaf1dddc207c9352252c143d
parent613191f052b8866ec5f479a612b3f8851e4702d7 (diff)
downloadpython-coveragepy-git-a8758a6878553902e8fea05c0a60adcdb55831bf.tar.gz
test: avoid a 3.11.0b2 bug
-rw-r--r--setup.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index f1cb7a8a..57a03f1e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,7 +2,9 @@
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
[tool:pytest]
-addopts = -q -n auto --strict-markers --no-flaky-report -rfEX --failed-first
+# Use --assert=plain since 3.11.0b2 has a bug: https://github.com/pytest-dev/pytest/issues/10008
+# fixed by https://github.com/python/cpython/pull/93359
+addopts = -q -n auto --strict-markers --no-flaky-report -rfEX --failed-first --assert=plain
python_classes = *Test
markers =
expensive: too slow to run during "make smoke"