diff --git a/tests/test_integration/test_finding_center_of_rotation_by_joining_two_pipelines.py b/tests/test_integration/test_finding_center_of_rotation_by_joining_two_pipelines.py index 7bf0a5b..a5703f9 100644 --- a/tests/test_integration/test_finding_center_of_rotation_by_joining_two_pipelines.py +++ b/tests/test_integration/test_finding_center_of_rotation_by_joining_two_pipelines.py @@ -484,7 +484,7 @@ def test_blob_detection_on_derotated_stack( if not np.allclose(blob[0][:2][::-1], center_1, atol=atol): errors += 1 if len(blob) > 1 and not np.allclose( - blob[-1][:2][::-1], center_2, atol=atol + blob[-1][:2][::-1], center_2, atol=atol, rtol=0 ): errors += 1 diff --git a/tests/test_regression/assertions.py b/tests/test_regression/assertions.py index c0b96b6..0672651 100644 --- a/tests/test_regression/assertions.py +++ b/tests/test_regression/assertions.py @@ -45,7 +45,7 @@ def compare_images( try: # Check if the current image is close to the target image # within the tolerance level - assert np.allclose(current_image, target_image, atol=atol) + assert np.allclose(current_image, target_image, atol=atol, rtol=0) except AssertionError: # If the current image is not close to the target image