File: Skip-test-that-needs-too-much-memory-on-ARM.patch

package info (click to toggle)
reproject 0.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,936 kB
  • sloc: python: 5,647; ansic: 1,022; makefile: 114
file content (33 lines) | stat: -rw-r--r-- 1,374 bytes parent folder | download
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
31
32
33
From: Ole Streicher <olebole@debian.org>
Date: Mon, 20 May 2024 09:52:54 +0200
Subject: Skip test that needs too much memory on ARM

---
 reproject/interpolation/tests/test_core.py | 1 +
 reproject/mosaicking/tests/test_coadd.py   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/reproject/interpolation/tests/test_core.py b/reproject/interpolation/tests/test_core.py
index a7651e3..2b7ce02 100644
--- a/reproject/interpolation/tests/test_core.py
+++ b/reproject/interpolation/tests/test_core.py
@@ -855,6 +855,7 @@ def test_reproject_order(block_size):
             assert_allclose(array_out_bilinear, array_out_biquadratic)
 
 
+@pytest.mark.skip(reason="needs too much memory on our ARM platforms")
 def test_reproject_block_size_broadcasting():
     # Regression test for a bug that caused the default chunk size to be
     # inadequate when using broadcasting in parallel mode
diff --git a/reproject/mosaicking/tests/test_coadd.py b/reproject/mosaicking/tests/test_coadd.py
index 60ad278..1ca4b49 100644
--- a/reproject/mosaicking/tests/test_coadd.py
+++ b/reproject/mosaicking/tests/test_coadd.py
@@ -18,6 +18,7 @@ ATOL = 1.0e-9
 
 DATA = os.path.join(os.path.dirname(__file__), "..", "..", "tests", "data")
 
+pytestmark = pytest.mark.skip
 
 @pytest.fixture(params=[reproject_interp, reproject_exact], ids=["interp", "exact"])
 def reproject_function(request):