(pytester: Pytester)
| 1141 | |
| 1142 | |
| 1143 | def test_BdbQuit(pytester: Pytester) -> None: |
| 1144 | pytester.makepyfile( |
| 1145 | test_foo=""" |
| 1146 | import unittest |
| 1147 | |
| 1148 | class MyTestCase(unittest.TestCase): |
| 1149 | def test_bdbquit(self): |
| 1150 | import bdb |
| 1151 | raise bdb.BdbQuit() |
| 1152 | |
| 1153 | def test_should_not_run(self): |
| 1154 | pass |
| 1155 | """ |
| 1156 | ) |
| 1157 | reprec = pytester.inline_run() |
| 1158 | reprec.assertoutcome(failed=1, passed=1) |
| 1159 | |
| 1160 | |
| 1161 | def test_exit_outcome(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected