@classmethod
def setUpClass(cls):
    super(TestPickle, cls).setUpClass()
    cls.ai = AzimuthalIntegrator(1.0, detector='Pilatus100k')
    cls.ai.wavelength = 1e-10
    cls.npt = 100
    cls.data = numpy.random.random(cls.ai.detector.shape)
@classmethod
def setUpClass(cls):
    super(TestPickle, cls).setUpClass()
    cls.ai = AzimuthalIntegrator(1.0, detector='Pilatus100k')
    cls.ai.wavelength = 1e-10
    cls.npt = 100
    cls.data = numpy.random.random(cls.ai.detector.shape)