Andreas Wacknitz
2024-03-24 3df02058fb3d48a999bbc8d5d56c2910fbc249a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://github.com/christiansandberg/pytest-reporter/issues/8
 
--- hypothesis-hypothesis-python-6.99.12/hypothesis-python/tests/nocover/test_baseexception.py.orig
+++ hypothesis-hypothesis-python-6.99.12/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").stdout)
+    pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:reporter").stdout)
     assert "x=101" in pytest_stdout
     assert exc_name in pytest_stdout
--- hypothesis-hypothesis-python-6.99.12/hypothesis-python/tests/nocover/test_scrutineer.py.orig
+++ hypothesis-hypothesis-python-6.99.12/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"
+            test_file, "--tb=native", "-p", "no:black", "-p", "no:cov", "-p", "no:mypy", "-p", "no:reporter"
         ).stdout
     )