

def assertFileExists(self, filename):
    try:
        filename.assertTrue(os.path.exists(filename))
    except AssertionError:
        raise AssertionError(('File %s should exist' % filename))

dataset/ETHPy150Open gutomaia/pyNES/pynes/tests/__init__.py FileTestCase.assertFileExists/VarMisuse@16/20 `self`->`filename`