guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: python-xarray: Disable tests that are known to fail.


From: guix-commits
Subject: 03/03: gnu: python-xarray: Disable tests that are known to fail.
Date: Tue, 30 Apr 2024 05:56:54 -0400 (EDT)

rekado pushed a commit to branch wip-python-team
in repository guix.

commit 556f719fa460763d32799a4b585c97f6def70146
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 30 11:46:46 2024 +0200

    gnu: python-xarray: Disable tests that are known to fail.
    
    * gnu/packages/python-science.scm (python-xarray)[arguments]: Disable two
    tests.
    
    Change-Id: I70954173e0aca5a377cf19476e9390a97febadc7
---
 gnu/packages/python-science.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index a857955013..5ce0c0e4e9 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1467,8 +1467,14 @@ multiple deep learning frameworks.")
                 "0cyldwchcrmbm1y7l1ry70kk8zdh7frxci3c6iwf4iyyj34dnra5"))))
     (build-system pyproject-build-system)
     (arguments
-     ;; This needs a more recent version of python-hypothesis
-     (list #:test-flags '(list "--ignore=xarray/tests/test_strategies.py")))
+     (list
+      #:test-flags
+      ;; This needs a more recent version of python-hypothesis
+      '(list "--ignore=xarray/tests/test_strategies.py"
+             ;; These are known to fail with Pandas 2
+             "-k"
+             (string-append "not test_datetime_conversion_warning"
+                            " and not test_timedelta_conversion_warning"))))
     (native-inputs
      (list python-setuptools-scm python-pytest))
     (propagated-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]