(self)
| 87 | capouter.stop_capturing() |
| 88 | |
| 89 | def test_init_capturing(self): |
| 90 | capouter = StdCaptureFD() |
| 91 | try: |
| 92 | capman = CaptureManager("fd") |
| 93 | capman.start_global_capturing() |
| 94 | pytest.raises(AssertionError, capman.start_global_capturing) |
| 95 | capman.stop_global_capturing() |
| 96 | finally: |
| 97 | capouter.stop_capturing() |
| 98 | |
| 99 | |
| 100 | @pytest.mark.parametrize("method", ["fd", "sys"]) |
nothing calls this directly
no test coverage detected