MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_issue2234_property

Method test_issue2234_property

testing/python/collect.py:253–263  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

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
266class TestFunction:

Callers

nothing calls this directly

Calls 2

makepyfileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected