(self)
| 142 | """ |
| 143 | |
| 144 | def test_method(self): |
| 145 | testgen = testfunc(self) |
| 146 | with mock_input_helper(testgen) as mih: |
| 147 | mih.ip.interact() |
| 148 | |
| 149 | if mih.exception is not None: |
| 150 | # Re-raise captured exception |
| 151 | etype, value, tb = mih.exception |
| 152 | import traceback |
| 153 | |
| 154 | traceback.print_tb(tb, file=sys.stdout) |
| 155 | del tb # Avoid reference loop |
| 156 | raise value |
| 157 | |
| 158 | return test_method |
| 159 |
nothing calls this directly
no test coverage detected
searching dependent graphs…