From 0cbec2048d6634630c969b586ade4db6b47dba3b Mon Sep 17 00:00:00 2001 From: William Jamieson Date: Mon, 30 Oct 2023 14:23:19 -0400 Subject: [PATCH] Ignore `GeneralSersic2D` model until astropy 6 comes out. --- asdf_astropy/converters/transform/tests/test_transform.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/asdf_astropy/converters/transform/tests/test_transform.py b/asdf_astropy/converters/transform/tests/test_transform.py index 019f2f84..e8ccc7bf 100644 --- a/asdf_astropy/converters/transform/tests/test_transform.py +++ b/asdf_astropy/converters/transform/tests/test_transform.py @@ -485,6 +485,9 @@ def create_single_models(): # noqa: PLR0915 if minversion("astropy", "5.1") and not minversion("asdf_transform_schemas", "0.2.2", inclusive=False): UNSUPPORTED_MODELS.append(astropy.modeling.powerlaws.Schechter1D) +if minversion("astropy", "6.0.dev"): + UNSUPPORTED_MODELS.append(astropy.modeling.functional_models.GeneralSersic2D) + @pytest.mark.parametrize("model", create_single_models()) def test_single_model(tmp_path, model):