1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Ole Streicher <olebole@debian.org>
Date: Sat, 11 Oct 2025 16:02:31 +0200
Subject: Loosen expected output of test_smooth_update_function_serial
---
spectral_cube/tests/test_spectral_cube.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/spectral_cube/tests/test_spectral_cube.py b/spectral_cube/tests/test_spectral_cube.py
index 8543234..3633092 100644
--- a/spectral_cube/tests/test_spectral_cube.py
+++ b/spectral_cube/tests/test_spectral_cube.py
@@ -2566,7 +2566,7 @@ def test_smooth_update_function_parallel(capsys, data_adv):
sys.stdout.flush()
captured = capsys.readouterr()
- assert captured.out == "Update Function Call\n"*6
+ assert "Update Function Call\n"*6 in captured.out
def test_smooth_update_function_serial(capsys, data_adv):
@@ -2584,7 +2584,7 @@ def test_smooth_update_function_serial(capsys, data_adv):
update_function=update_function)
captured = capsys.readouterr()
- assert captured.out == "Update Function Call\n"*6
+ assert "Update Function Call\n"*6 in captured.out
@pytest.mark.skipif('not scipyOK')
|