guix-commits
[Top][All Lists]
Advanced

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

08/17: gnu: python-bokeh: Skip failing PIL test.


From: guix-commits
Subject: 08/17: gnu: python-bokeh: Skip failing PIL test.
Date: Mon, 12 Dec 2022 18:26:35 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 08b9e29d4672d2209026f4b7fa592abb958cbd34
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Dec 10 22:03:45 2022 +0100

    gnu: python-bokeh: Skip failing PIL test.
    
    The test compares base64-encoded gifs; the gifs look identical but the
    base64-encoded data differs.  Since the result seems fine, disabling this 
PIL
    test is probably okay.
    
    * gnu/packages/python-xyz.scm (python-bokeh)[arguments]: Ignore failing
    test_transform_PIL test.
---
 gnu/packages/python-xyz.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f5c4e3e9f7..2acba1fa39 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15466,7 +15466,10 @@ enhancements to optimization and data fitting 
problems.")
                (delete-file "tests/unit/bokeh/models/test_sources.py")
                (delete-file "tests/unit/bokeh/embed/test_bundle.py")
 
-               (invoke "pytest" "-v")))))))
+               ;; XXX: This one test transforms a gif of a red box.  It
+               ;; transforms it all right but the base64 doesn't look as
+               ;; expected, probably because of a change in pillow.
+               (invoke "pytest" "-v" "-k" "not test_transform_PIL")))))))
     (propagated-inputs
      (list node-lts
            python-jinja2



reply via email to

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