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

Method setUp

bpython/test/test_filewatch.py:17–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15@unittest.skipUnless(has_watchdog, "watchdog required")
16class TestModuleChangeEventHandler(unittest.TestCase):
17 def setUp(self):
18 self.module = ModuleChangedEventHandler([], 1)
19 self.module.observer = mock.Mock()
20
21 def test_create_module_handler(self):
22 self.assertIsInstance(self.module, ModuleChangedEventHandler)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected