

def test_getCellStr_2_azmode(self):
    g = Game(azmode=True)
    g.board.setCell(0, 0, 2)
    self.assertRegexpMatches(g.getCellStr(0, 0), 'a\\x1b\\[0m$')

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