MCPcopy Create free account
hub / github.com/pyinvoke/invoke / cancels_timer

Method cancels_timer

tests/runners.py:1431–1435  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1429 runner.stop.assert_called_once_with()
1430
1431 def cancels_timer(self):
1432 runner = self._runner()
1433 runner._timer = Mock()
1434 runner.stop()
1435 runner._timer.cancel.assert_called_once_with()
1436
1437 class asynchronous:
1438 def returns_Promise_immediately_and_finishes_on_join(self):

Callers

nothing calls this directly

Calls 2

_runnerMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected