def testLoad(self):
        for i in range(2):
            f = open(os.path.join(CURDIR, 'test.pdae'))
            if i % 2 == 0:
                f = StringIO.StringIO(f.read())
            start = time.time()
            refinements = readPDAE(f)
            after = time.time()
            print 'Took', after - start, 'seconds to load'
            self.assertEqual(len(refinements), 23222)
dataset/ETHPy150Open pycollada/meshtool/meshtool/filters/panda_filters/pdae_utils/__init__.py/PDAETest.testLoad/original