Marcel Telka
2024-04-09 11cd3607f21207430dcdf0da500f91647e15c5e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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: