guix-commits
[Top][All Lists]
Advanced

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

74/136: gnu: python-keras: Skip a flaky test.


From: guix-commits
Subject: 74/136: gnu: python-keras: Skip a flaky test.
Date: Sun, 17 Oct 2021 05:16:07 -0400 (EDT)

apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.

commit 3a053f70d0126ffe1b91c63306c6fcb2e7b2dec6
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Oct 11 23:42:40 2021 -0400

    gnu: python-keras: Skip a flaky test.
    
    * gnu/packages/machine-learning.scm (python-keras)
    [phases]{check}: Also skip the test_stateful_metrics test.
---
 gnu/packages/machine-learning.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 85460ae..88ce23c 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2538,9 +2538,14 @@ with image data, text data, and sequence data.")
                        "-p" "no:pep8"
                        ;; FIXME: python-build-system lacks PARALLEL-TESTS?
                        "-n" (number->string (parallel-job-count))
-                       ;; The following test fail only in the build container;
-                       ;; skip it.
-                       "-k" "not test_selu")))))))
+                       "-k"
+                       (string-append
+                        ;; The following test fails only in the build
+                        ;; container; skip it.
+                        "not test_selu "
+                        ;; The following test was found flaky and removed in
+                        ;; recent versions.
+                        "and not test_stateful_metrics"))))))))
     (propagated-inputs
      `(("python-h5py" ,python-h5py)
        ("python-keras-applications" ,python-keras-applications)



reply via email to

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