

def test_loop_interrupt(self):
    kp._setCtrlC(True)
    g = Game(goal=4, size=2, scores_file=None)
    self.assertEqual(g.loop(), None)

dataset/ETHPy150Open bfontaine/term2048/tests/test_game.py TestGame.test_loop_interrupt/original