File: Mark-one-test-as-xfail-that-sometimes-fails-on-i386.patch

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (23 lines) | stat: -rw-r--r-- 867 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
From: Ole Streicher <olebole@debian.org>
Date: Fri, 22 Nov 2024 15:53:06 +0100
Subject: Mark one test as xfail that sometimes fails on i386

https://github.com/astropy/astropy/issues/17362

Closes: #1087612
---
 astropy/modeling/tests/test_models.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/astropy/modeling/tests/test_models.py b/astropy/modeling/tests/test_models.py
index 7f41409..62613ee 100644
--- a/astropy/modeling/tests/test_models.py
+++ b/astropy/modeling/tests/test_models.py
@@ -527,6 +527,7 @@ class Fittable1DModelTester:
         assert abs(arr.sum() - sub_arr.sum()) < arr.sum() * rtol
 
     @pytest.mark.skipif(not HAS_SCIPY, reason="requires scipy")
+    @pytest.mark.xfail(reason="Somtimes fails in i386")
     @pytest.mark.parametrize("fitter", fitters)
     def test_fitter1D(self, model_class, test_parameters, fitter):
         """