guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: python-zope-testrunner: Fix bytecode compilation.


From: guix-commits
Subject: 04/04: gnu: python-zope-testrunner: Fix bytecode compilation.
Date: Tue, 12 Oct 2021 18:23:36 -0400 (EDT)

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

commit ff01706675a64c1246794582bfcd703a3efb5ef2
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Oct 13 00:00:38 2021 +0200

    gnu: python-zope-testrunner: Fix bytecode compilation.
    
    * gnu/packages/python-web.scm (python-zope-testrunner)[arguments]: Delete 
one
    test.
---
 gnu/packages/python-web.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 38bc1df..5d04c2c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1992,7 +1992,15 @@ forms, HTTP servers, regular expressions, and more.")
          "0jyyf1dcz156q95x2y7yw2v420q2xn3cff0c5aci7hmdmcbn0gc7"))))
     (build-system python-build-system)
     (arguments
-     '(#:tests? #f)) ; FIXME: Tests can't find zope.interface.
+     '(#:tests? #f                    ;FIXME: Tests can't find zope.interface.
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'remove-problematic-test
+           (lambda _
+             ;; This test contains invalid syntax, which breaks bytecode
+             ;; compilation.  For simplicity just remove it.
+             (delete-file
+              
"src/zope/testrunner/tests/testrunner-ex/sample2/badsyntax.py"))))))
     (native-inputs
      `(("python-zope-testing" ,python-zope-testing)))
     (propagated-inputs



reply via email to

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