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

Method test_instance

doc/en/example/assertion/failure_demo.py:240–242  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

238 assert isinstance(globf(42), float)
239
240 def test_instance(self):
241 self.x = 6 * 7
242 assert self.x != 42
243
244 def test_compare(self):
245 assert globf(10) < 5

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected