| # Licensed under a 3-clause BSD style license - see LICENSE.rst | |
| import pytest | |
| import numpy as np | |
| from astropy import convolution as conv | |
| from astropy.tests.helper import pickle_protocol, check_pickling_recovery # noqa | |
| 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) | |