MCPcopy Create free account
hub / github.com/bpython/bpython / setUp

Method setUp

bpython/test/test_curtsies_coderunner.py:9–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7
8class TestCodeRunner(unittest.TestCase):
9 def setUp(self):
10 self.orig_stdout = sys.stdout
11 self.orig_stderr = sys.stderr
12
13 def tearDown(self):
14 sys.stdout = self.orig_stdout

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected