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

Method setUp

Lib/unittest/case.py:492–494  ·  view source on GitHub ↗

Hook method for setting up the test fixture before exercising it.

(self)

Source from the content-addressed store, hash-verified

490 return _enter_context(cm, cls.addClassCleanup)
491
492 def setUp(self):
493 "Hook method for setting up the test fixture before exercising it."
494 pass
495
496 def tearDown(self):
497 "Hook method for deconstructing the test fixture after testing it."

Callers 1

_callSetUpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected