def setUpClass(self): """Setup. Create a few objects to be used for testing. """ self.edisp = load_rmf(IRF_NAME)
def setUpClass(cls): """Setup---here we essentially create the modulation factor. """ cls.measx, cls.measy = numpy.loadtxt(GPD_ERES_FILE_PATH, unpack=True) cls.edisp = load_rmf(IRF_NAME) cls.interactive = sys.flags.interactive
def setUpClass(cls): """Setup. Create a few objects to be used for testing. """ cls.edisp = load_rmf(IRF_NAME)
def setUpClass(self): """Setup---here we essentially create the modulation factor. """ self.measx, self.measy = numpy.loadtxt(GPD_ERES_FILE_PATH, unpack=True) self.edisp = load_rmf(IRF_NAME) self.interactive = sys.flags.interactive