'Test exec_ without double-executing.'

def test_normal_exec(self):

    self.loop = qtutils.EventLoop()
    QTimer.singleShot(100, self._assert_executing)
    QTimer.singleShot(200, self.loop.quit)
    self.loop.exec_()
    assert (not self.loop._executing)
