def setUp(self):
        try:
            import h5py
        except __HOLE__:
            raise SkipTest("this test requires h5py")
        from openmdao.lib.casehandlers.api import CaseDatasetHDF5, HDF5CaseRecorder

        #create_files()  # Uncomment to create 'sellar.new'
        path = os.path.join(os.path.dirname(__file__), 'sellar.hdf5')
        self.cds = CaseDatasetHDF5(path, 'hdf5')
        self.startdir = os.getcwd()
        self.tempdir = tempfile.mkdtemp(prefix='test_query-')
        os.chdir(self.tempdir)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/casehandlers/test/test_query_hdf5.py/TestCase.setUp