MCPcopy Index your code
hub / github.com/bpython/bpython / setUp

Method setUp

bpython/test/test_repl.py:354–358  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

352
353class TestEditConfig(TestCase):
354 def setUp(self):
355 self.repl = FakeRepl()
356 self.repl.interact.confirm = lambda msg: True
357 self.repl.interact.notify = lambda msg: None
358 self.repl.config.editor = "true"
359
360 def test_create_config(self):
361 with tempfile.TemporaryDirectory() as tmp_dir:

Callers

nothing calls this directly

Calls 1

FakeReplClass · 0.85

Tested by

no test coverage detected