https://github.com/pytest-dev/pytest/issues/12186
|
|
--- hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_scrutineer.py.orig
|
+++ hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_scrutineer.py
|
@@ -52,7 +52,11 @@
|
# multi-line report strings which we expect to see in explain-mode output.
|
# The list length is the number of explainable bugs, usually one.
|
test_file = str(testdir.makepyfile(file_contents))
|
- pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native").stdout)
|
+ pytest_stdout = str(
|
+ testdir.runpytest_inprocess(
|
+ test_file, "--tb=native", "-p", "no:black", "-p", "no:cov", "-p", "no:mypy"
|
+ ).stdout
|
+ )
|
|
crash = "AttributeError: module 'blib2to3.pygram' has no attribute 'python_symbols'"
|
if crash in pytest_stdout:
|