Andreas Wacknitz
2024-04-09 7bea32fd382fe993229cd2db29c3a13cb8138b09
commit | author | age
1cf713 1 https://github.com/pytest-dev/pytest/issues/12186
MT 2
11cd36 3 --- hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_baseexception.py.orig
MT 4 +++ hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_baseexception.py
1cf713 5 @@ -125,6 +125,6 @@
MT 6          exception=exc_name, strategy="things()" if use_composite else "st.none()"
7      )
8      test_file = str(testdir.makepyfile(code))
9 -    pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:checkdocs", "-p", "no:reporter").stdout)
10 +    pytest_stdout = str(testdir.runpytest_inprocess(test_file, "--tb=native", "-p", "no:checkdocs", "-p", "no:reporter", "-p", "no:system-statistics", "-p", "no:salt-factories", "-p", "no:salt-factories-event-listener", "-p", "no:salt-factories-factories", "-p", "no:salt-factories-loader-mock", "-p", "no:salt-factories-log-server", "-p", "no:salt-factories-markers").stdout)
11      assert "x=101" in pytest_stdout
12      assert exc_name in pytest_stdout
11cd36 13 --- hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_targeting.py.orig
MT 14 +++ hypothesis-hypothesis-python-6.100.1/hypothesis-python/tests/nocover/test_targeting.py
1cf713 15 @@ -29,7 +29,7 @@
MT 16  @pytest.mark.parametrize("multiple", [False, True])
17  def test_reports_target_results(testdir, multiple):
18      script = testdir.makepyfile(TESTSUITE.format("" if multiple else "# "))
19 -    result = testdir.runpytest(script, "--tb=native", "-rN")
20 +    result = testdir.runpytest(script, "--tb=native", "-rN", "-p", "no:system-statistics", "-p", "no:salt-factories", "-p", "no:salt-factories-event-listener", "-p", "no:salt-factories-factories", "-p", "no:salt-factories-loader-mock", "-p", "no:salt-factories-log-server", "-p", "no:salt-factories-markers")
21      out = "\n".join(result.stdout.lines)
22      assert "Falsifying example" in out
23      assert "x=101" in out