Skip to content

Commit

Permalink
Merge pull request #237 from ViciousEagle03/update-astropy-version-check
Browse files Browse the repository at this point in the history
Remove `astropy` version check
  • Loading branch information
braingram authored Jul 24, 2024
2 parents 9348f89 + d63bc9a commit fa5f1f4
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 fa5f1f4

Please sign in to comment.