(self, pytester: Pytester)
| 504 | |
| 505 | class TestInvocationVariants: |
| 506 | def test_earlyinit(self, pytester: Pytester) -> None: |
| 507 | p = pytester.makepyfile( |
| 508 | """ |
| 509 | import pytest |
| 510 | assert hasattr(pytest, 'mark') |
| 511 | """ |
| 512 | ) |
| 513 | result = pytester.runpython(p) |
| 514 | assert result.ret == 0 |
| 515 | |
| 516 | def test_pydoc(self, pytester: Pytester) -> None: |
| 517 | result = pytester.runpython_c("import pytest;help(pytest)") |
nothing calls this directly
no test coverage detected