(pytester: Pytester)
| 336 | |
| 337 | |
| 338 | def test_SkipTest_during_collection(pytester: Pytester) -> None: |
| 339 | p = pytester.makepyfile( |
| 340 | """ |
| 341 | import nose |
| 342 | raise nose.SkipTest("during collection") |
| 343 | def test_failing(): |
| 344 | assert False |
| 345 | """ |
| 346 | ) |
| 347 | result = pytester.runpytest(p) |
| 348 | result.assert_outcomes(skipped=1, warnings=1) |
| 349 | |
| 350 | |
| 351 | def test_SkipTest_in_test(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected