def event(self, event):
        if event.type() == self._pyface_event:
            # Invoke the callable (puts it at the end of the event queue)
            QtCore.QTimer.singleShot(self._ms, self._dispatch)
            return True

        return super(_FutureCall, self).event(event)
Test setting the default keychain when it's already set
dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/gui.py/_FutureCall.event--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/states/mac_keychain_test.py/KeychainTestCase.test_default_keychain_set_already