From 5b5994172a16a7cfbc4f8827e9a6d3156da1844f Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Fri, 13 Dec 2024 13:07:14 -0500 Subject: [PATCH] codestyle --- .../cubeviz/plugins/tests/test_cubeviz_unit_conversion.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py b/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py index 6ef5f78e6f..c4ef72e8cb 100644 --- a/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py +++ b/jdaviz/configs/cubeviz/plugins/tests/test_cubeviz_unit_conversion.py @@ -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 """