

def assertFileIsNotEmpty(self, path):
    with open(path, 'r') as f:
        self.seek(0, 2)
        size = f.tell()
    self.assertNotEqual(0, size)

dataset/ETHPy150Open bfontaine/term2048/tests/test_game.py TestGame.assertFileIsNotEmpty/VarMisuse@24/32 `f`->`self`