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

Method test_set_debug

Lib/test/test_asyncio/test_base_events.py:422–426  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

420 self.assertTrue(self.loop._process_events.called)
421
422 def test_set_debug(self):
423 self.loop.set_debug(True)
424 self.assertTrue(self.loop.get_debug())
425 self.loop.set_debug(False)
426 self.assertFalse(self.loop.get_debug())
427
428 def test__run_once_schedule_handle(self):
429 handle = None

Callers

nothing calls this directly

Calls 4

assertTrueMethod · 0.80
assertFalseMethod · 0.80
set_debugMethod · 0.45
get_debugMethod · 0.45

Tested by

no test coverage detected