def check_file(self, path, file, result):
        loader = resource.Loader(path, script_home=self.script_home)
        self.assertTrue(loader.file(file).read() == '%s\n' % result)
dataset/ETHPy150Open ardekantur/pyglet/tests/resource/RES_LOAD.py/TestCase.check_file/original