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

Method teardown

src/_pytest/unittest.py:197–202  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

195 self._request._fillfixtures()
196
197 def teardown(self) -> None:
198 if self._explicit_tearDown is not None:
199 self._explicit_tearDown()
200 self._explicit_tearDown = None
201 self._testcase = None
202 self._obj = None
203
204 def startTest(self, testcase: "unittest.TestCase") -> None:
205 pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected