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