def test_runContextUnsetOnReturn(self):
        action = Action(None, "", TaskLevel(level=[]), "")
        action.run(lambda: None)
        self.assertIs(currentAction(), None)
L{Action.run} unsets the action once the given function returns.
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_action.py/ActionTests.test_runContextUnsetOnReturn