https://github.com/pytest-dev/pytest/issues/12186 --- hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_baseexception.py.orig +++ hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_baseexception.py @@ -125,6 +125,6 @@ exception=exc_name, strategy="things()" if use_composite else "st.none()" ) test_file = str(testdir.makepyfile(code)) - pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:reporter").stdout) + pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:checkdocs", "-p", "no:reporter").stdout) assert "x=101" in pytest_stdout assert exc_name in pytest_stdout --- 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 @@ -54,7 +54,7 @@ test_file = str(testdir.makepyfile(file_contents)) pytest_stdout = str( testdir.runpytest_inprocess( - test_file, "--tb=native", "-p", "no:black", "-p", "no:cov", "-p", "no:mypy", "-p", "no:reporter" + test_file, "--tb=native", "-p", "no:black", "-p", "no:checkdocs", "-p", "no:cov", "-p", "no:mypy", "-p", "no:reporter" ).stdout )