MCPcopy Index your code
hub / github.com/python/cpython / tearDown

Method tearDown

Lib/doctest.py:2377–2385  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2375 self._dt_setUp(test)
2376
2377 def tearDown(self):
2378 test = self._dt_test
2379
2380 if self._dt_tearDown is not None:
2381 self._dt_tearDown(test)
2382
2383 # restore the original globs
2384 test.globs.clear()
2385 test.globs.update(self._dt_globs)
2386
2387 def run(self, result=None):
2388 self._test_result = result

Callers 1

debugMethod · 0.95

Calls 2

clearMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected