(pytester: Pytester)
| 49 | |
| 50 | |
| 51 | def test_isclasscheck_issue53(pytester: Pytester) -> None: |
| 52 | testpath = pytester.makepyfile( |
| 53 | """ |
| 54 | import unittest |
| 55 | class _E(object): |
| 56 | def __getattr__(self, tag): |
| 57 | pass |
| 58 | E = _E() |
| 59 | """ |
| 60 | ) |
| 61 | result = pytester.runpytest(testpath) |
| 62 | assert result.ret == ExitCode.NO_TESTS_COLLECTED |
| 63 | |
| 64 | |
| 65 | def test_setup(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected