From 670cf319dfc24557dec4a13c40791c4ebc4479e0 Mon Sep 17 00:00:00 2001 From: Hatice Karatay Date: Mon, 23 Dec 2024 13:34:22 -0500 Subject: [PATCH] Update test --- jdaviz/configs/imviz/tests/test_catalogs.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/jdaviz/configs/imviz/tests/test_catalogs.py b/jdaviz/configs/imviz/tests/test_catalogs.py index 9d46440d72..3cb104b18e 100644 --- a/jdaviz/configs/imviz/tests/test_catalogs.py +++ b/jdaviz/configs/imviz/tests/test_catalogs.py @@ -29,7 +29,6 @@ from astropy.io import fits from astropy.nddata import NDData from astropy.table import Table, QTable -from numpy.testing import assert_allclose @pytest.mark.remote_data @@ -170,10 +169,10 @@ def test_plugin_image_with_result(self, imviz_helper, tmp_path): # so test results don't change catalogs_plugin.zoom_to_selected(padding=50 / 2048) - assert imviz_helper.viewers['imviz-0']._obj.state.x_min == 858.24969 - assert imviz_helper.viewers['imviz-0']._obj.state.x_max == 958.38461 - assert imviz_helper.viewers['imviz-0']._obj.state.y_min == 278.86265 - assert imviz_helper.viewers['imviz-0']._obj.state.y_max == 378.8691 + assert imviz_helper.viewers['imviz-0']._obj.state.x_min == 1022.5757000000001 + assert imviz_helper.viewers['imviz-0']._obj.state.x_max == 1122.5757 + assert imviz_helper.viewers['imviz-0']._obj.state.y_min == 704.7727144165947 + assert imviz_helper.viewers['imviz-0']._obj.state.y_max == 745.8271655834053 def test_from_file_parsing(imviz_helper, tmp_path):