Skip to content

Commit

Permalink
codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Dec 13, 2024
1 parent 80cfa30 commit 5b59941
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,10 @@ def test_cubeviz_flux_sb_translation_counts(cubeviz_helper, angle_unit):

@pytest.mark.parametrize("start_unit, end_unit, end_spectral_y_type, expected_limits",
[('Jy', 'MJy', 'Flux', (5e-07, 6e-07, 1e-4, 1.05e-4)),
('MJy', 'ph / (Angstrom s cm2)', 'Surface Brightness', (5e-07, 6e-07, 25153169.66070254, 31692993.772485193))])
def test_limits_on_unit_change(cubeviz_helper, start_unit, end_unit, end_spectral_y_type, expected_limits):
('MJy', 'ph / (Angstrom s cm2)', 'Surface Brightness', (5e-07, 6e-07, 25153169.66070254, 31692993.772485193)) # noqa
])
def test_limits_on_unit_change(cubeviz_helper, start_unit, end_unit,
end_spectral_y_type, expected_limits):
"""
Test that the limits are reset when changing units
"""
Expand Down

0 comments on commit 5b59941

Please sign in to comment.