def test_flrw(pickle_protocol, original, xfail): if xfail: pytest.xfail() check_pickling_recovery(original, pickle_protocol)
def test_new_constant(pickle_protocol, original, xfail): if xfail: pytest.xfail() check_pickling_recovery(original, pickle_protocol)
def test_pickle(self, pickle_protocol): check_pickling_recovery(self.pv_t_unit, pickle_protocol)
def test_simple_object(pickle_protocol, name, args, kwargs, xfail): # Tests easily instantiated objects if xfail: pytest.xfail() original = name(*args, **kwargs) check_pickling_recovery(original, pickle_protocol)
def test_skyoffset_pickle(pickle_protocol, frame): """ This is a regression test for issue #9249: https://github.com/astropy/astropy/issues/9249 """ check_pickling_recovery(frame, pickle_protocol)
def test_new_constant(pickle_protocol, original): # noqa check_pickling_recovery(original, pickle_protocol)