File: Mark-LevMarLSQFitter-test-xfail.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 (27 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download | duplicates (2)
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
From: Ole Streicher <olebole@debian.org>
Date: Thu, 2 Feb 2023 09:01:13 +0100
Subject: Mark LevMarLSQFitter test xfail

This test fails on i386

See https://github.com/astropy/astropy/issues/13986
and https://github.com/astropy/astropy/pull/14013

Closes: #1030012
---
 astropy/modeling/tests/test_models_quantities.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/astropy/modeling/tests/test_models_quantities.py b/astropy/modeling/tests/test_models_quantities.py
index 339c688..d31e411 100644
--- a/astropy/modeling/tests/test_models_quantities.py
+++ b/astropy/modeling/tests/test_models_quantities.py
@@ -791,6 +791,8 @@ def test_compound_model_input_units_equivalencies_defaults(model):
         assert fixed_input_model.input_units_equivalencies is None
 
 
+# See https://github.com/astropy/astropy/issues/13986
+@pytest.mark.xfail(reason="Failure on i386")
 @pytest.mark.skipif(not HAS_SCIPY, reason="requires scipy")
 @pytest.mark.filterwarnings(r"ignore:.*:RuntimeWarning")
 @pytest.mark.filterwarnings(r"ignore:Model is linear in parameters.*")