(self, pytester: Pytester)
| 486 | ) |
| 487 | |
| 488 | def test_capsyscapfdbinary(self, pytester: Pytester) -> None: |
| 489 | p = pytester.makepyfile( |
| 490 | """\ |
| 491 | def test_one(capsys, capfdbinary): |
| 492 | pass |
| 493 | """ |
| 494 | ) |
| 495 | result = pytester.runpytest(p) |
| 496 | result.stdout.fnmatch_lines( |
| 497 | ["*ERROR*setup*test_one*", "E*capfdbinary*capsys*same*time*", "*1 error*"] |
| 498 | ) |
| 499 | |
| 500 | @pytest.mark.parametrize("method", ["sys", "fd"]) |
| 501 | def test_capture_is_represented_on_failure_issue128( |
nothing calls this directly
no test coverage detected