File: xfail-on-random-patch

package info (click to toggle)
python-xarray 2023.01.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,980 kB
  • sloc: python: 86,209; makefile: 232; sh: 47
file content (18 lines) | stat: -rw-r--r-- 598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Avoid test that fails randomly based on random seed.
 See https://github.com/pydata/xarray/issues/6504
Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013939
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2022-080-23
Forwarded: no

--- a/xarray/tests/test_weighted.py
+++ b/xarray/tests/test_weighted.py
@@ -672,6 +672,8 @@
         ([2, 3, 4, 5], [0, 1, 2, 3], 3.8),  # no weights for coord a == 0 or 1
     ],
 )
+
+@pytest.mark.xfail
 def test_weighted_operations_nonequal_coords(
     coords_weights: Iterable[Any],
     coords_data: Iterable[Any],