diff --git a/jwst/resample/tests/test_resample_step.py b/jwst/resample/tests/test_resample_step.py index f0763eb4d3..c81d490e3f 100644 --- a/jwst/resample/tests/test_resample_step.py +++ b/jwst/resample/tests/test_resample_step.py @@ -832,11 +832,12 @@ def test_resample_undefined_variance(nircam_rate, shape): @pytest.mark.parametrize('ratio', [0.7, 1.2]) @pytest.mark.parametrize('rotation', [0, 15, 135]) @pytest.mark.parametrize('crpix', [(256, 488), (700, 124)]) -@pytest.mark.parametrize('crval', [(50, 77), (20, -30)]) -@pytest.mark.parametrize('shape', [(1205, 1100)]) +@pytest.mark.parametrize('crval', [(22.04019, 11.98262), (22.0404, 11.983)]) +@pytest.mark.parametrize('shape', [(1020, 1010)]) def test_custom_wcs_resample_imaging(nircam_rate, ratio, rotation, crpix, crval, shape): im = AssignWcsStep.call(nircam_rate, sip_approx=False) im.data += 5 + result = ResampleStep.call( im, output_shape=shape, @@ -954,7 +955,7 @@ def test_custom_refwcs_pixel_shape_imaging(nircam_rate, tmp_path): im.data[:, :] = rng.random(im.data.shape) crpix = (600, 550) - crval = (22.04, 11.98) + crval = (22.04019, 11.98262) rotation = 15 ratio = 0.7