(pytester: Pytester)
| 404 | |
| 405 | |
| 406 | def test_nottest_class_decorator(pytester: Pytester) -> None: |
| 407 | pytester.makepyfile( |
| 408 | """ |
| 409 | import nose.tools |
| 410 | @nose.tools.nottest |
| 411 | class TestPrefix(object): |
| 412 | def test_method(self): |
| 413 | pass |
| 414 | """ |
| 415 | ) |
| 416 | reprec = pytester.inline_run() |
| 417 | assert not reprec.getfailedcollections() |
| 418 | calls = reprec.getreports("pytest_runtest_logreport") |
| 419 | assert not calls |
| 420 | |
| 421 | |
| 422 | def test_skip_test_with_unicode(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected