Skip to content

Commit

Permalink
Merge branch 'astropy:main' into FitsWCS_support
Browse files Browse the repository at this point in the history
  • Loading branch information
ViciousEagle03 authored Aug 4, 2024
2 parents 110fc4c + fa5f1f4 commit 6673946
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions asdf_astropy/converters/transform/tests/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,24 +77,19 @@ def create_bounding_boxes():
astropy_models.Polynomial2D(1),
[("x", False)],
),
CompoundBoundingBox(
{(1,): (0, 1), (2,): (2, 3)},
astropy_models.Polynomial2D(1),
[("x", False)],
ignored=["x"],
),
CompoundBoundingBox(
{(1,): (0, 1), (2,): (2, 3)},
astropy_models.Polynomial2D(1),
[("x", False)],
ignored=["y"],
),
]
if minversion("astropy", "5.1"):
compound_bounding_box.extend(
[
CompoundBoundingBox(
{(1,): (0, 1), (2,): (2, 3)},
astropy_models.Polynomial2D(1),
[("x", False)],
ignored=["x"],
),
CompoundBoundingBox(
{(1,): (0, 1), (2,): (2, 3)},
astropy_models.Polynomial2D(1),
[("x", False)],
ignored=["y"],
),
],
)

return model_bounding_box + compound_bounding_box

Expand Down

0 comments on commit 6673946

Please sign in to comment.