(pytester: Pytester)
| 375 | |
| 376 | |
| 377 | def test_nottest_function_decorator(pytester: Pytester) -> None: |
| 378 | pytester.makepyfile( |
| 379 | """ |
| 380 | import nose.tools |
| 381 | @nose.tools.nottest |
| 382 | def test_prefix(): |
| 383 | pass |
| 384 | """ |
| 385 | ) |
| 386 | reprec = pytester.inline_run() |
| 387 | assert not reprec.getfailedcollections() |
| 388 | calls = reprec.getreports("pytest_runtest_logreport") |
| 389 | assert not calls |
| 390 | |
| 391 | |
| 392 | def test_istest_class_decorator(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected