python/uvicorn: update to 0.30.3
[oi-userland.git] / components / python / hypothesis / patches / 05-pytest-reporter.patch
blob4464853d6cba0db6af6ab753e4070ce9336b3aea
1 https://github.com/christiansandberg/pytest-reporter/issues/8
3 --- hypothesis-hypothesis-python-6.108.2/hypothesis-python/tests/nocover/test_baseexception.py.orig
4 +++ hypothesis-hypothesis-python-6.108.2/hypothesis-python/tests/nocover/test_baseexception.py
5 @@ -125,6 +125,6 @@
6 exception=exc_name, strategy="things()" if use_composite else "st.none()"
8 test_file = str(testdir.makepyfile(code))
9 - pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native").stdout)
10 + pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:reporter").stdout)
11 assert "x=101" in pytest_stdout
12 assert exc_name in pytest_stdout
13 --- hypothesis-hypothesis-python-6.108.2/hypothesis-python/tests/nocover/test_scrutineer.py.orig
14 +++ hypothesis-hypothesis-python-6.108.2/hypothesis-python/tests/nocover/test_scrutineer.py
15 @@ -54,7 +54,7 @@
16 test_file = str(testdir.makepyfile(file_contents))
17 pytest_stdout = str(
18 testdir.runpytest_inprocess(
19 - test_file, "--tb=native", "-p", "no:cov", "-p", "no:mypy"
20 + test_file, "--tb=native", "-p", "no:cov", "-p", "no:mypy", "-p", "no:reporter"
21 ).stdout