(pytester: Pytester)
| 758 | |
| 759 | |
| 760 | def test_capture_conftest_runtest_setup(pytester: Pytester) -> None: |
| 761 | pytester.makeconftest( |
| 762 | """ |
| 763 | def pytest_runtest_setup(): |
| 764 | print("hello19") |
| 765 | """ |
| 766 | ) |
| 767 | pytester.makepyfile("def test_func(): pass") |
| 768 | result = pytester.runpytest() |
| 769 | assert result.ret == 0 |
| 770 | result.stdout.no_fnmatch_line("*hello19*") |
| 771 | |
| 772 | |
| 773 | def test_capture_badoutput_issue412(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected