Skip to content

Commit

Permalink
Update dkist/dataset/tests/test_dataset.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stuart Mumford <[email protected]>
  • Loading branch information
SolarDrew and Cadair authored Sep 26, 2024
1 parent 3bb2cfb commit a6abb80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dkist/dataset/tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def test_repr(dataset, dataset_3d):


def test_wcs_roundtrip(dataset):
# TOO generalise this so mark.accept_cli_dataset will work, if possible
p = (10*u.pixel, 10*u.pixel)
p = [1*u.pixel] * dataset.wcs.pixel_n_dim
w = dataset.wcs.pixel_to_world(*p)
p2 = dataset.wcs.world_to_pixel(w)
assert_quantity_allclose(p, p2 * u.pix)
Expand Down

0 comments on commit a6abb80

Please sign in to comment.