guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: python-pympler: Disable test that fails with Python 3.10.


From: guix-commits
Subject: 02/05: gnu: python-pympler: Disable test that fails with Python 3.10.
Date: Sun, 18 Sep 2022 11:07:55 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 3d3100d8b1df073e26cc42d20726711b0873d9b1
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Aug 13 12:52:01 2022 +0200

    gnu: python-pympler: Disable test that fails with Python 3.10.
    
    * gnu/packages/python-xyz.scm (python-pympler)[arguments]: New field.  Skip
    one test.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 13928bd6f0..323a435beb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3861,6 +3861,18 @@ JavaScript-like message boxes.  Types of dialog boxes 
include:
                (base32
                 "1ynkqpv2akldmvkll5vh5zhwj433s1d59iv0f76lygyak4silgwr"))))
     (build-system python-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'skip-broken-test
+            (lambda _
+              ;; FIXME: This test fails for no good reason:
+              ;; https://github.com/pympler/pympler/issues/153
+              (substitute* "test/muppy/test_tracker.py"
+                (("^([[:blank:]]+)def test_stracker_create_summary" all indent)
+                 (string-append indent "@unittest.skipIf(True, \
+'Fails on Guix too for unknown reasons')\n" all))))))))
     (synopsis "Measure, monitor and analyze memory behavior")
     (description
      "Pympler is a development tool to measure, monitor and analyze



reply via email to

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