(self, pytester: Pytester)
| 251 | ) |
| 252 | |
| 253 | def test_issue2234_property(self, pytester: Pytester) -> None: |
| 254 | pytester.makepyfile( |
| 255 | """ |
| 256 | class TestCase(object): |
| 257 | @property |
| 258 | def prop(self): |
| 259 | raise NotImplementedError() |
| 260 | """ |
| 261 | ) |
| 262 | result = pytester.runpytest() |
| 263 | assert result.ret == ExitCode.NO_TESTS_COLLECTED |
| 264 | |
| 265 | |
| 266 | class TestFunction: |
nothing calls this directly
no test coverage detected