@classmethod
def tearDownClass(cls):
    'Restore random seeds'
    np.random.set_state(cls._np_rand_state)
    random.setstate(cls._py_rand_state)
Restore random seeds
@classmethod
def tearDownClass(cls):
    
    np.random.set_state(cls._np_rand_state)
    random.setstate(cls._py_rand_state)