aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c5e9c8e6d7..86f4552cc5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11998,6 +11998,14 @@ characters, mouse support, and auto suggestions.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-before 'check 'adjust-test-for-python-3.8
+ (lambda _
+ ;; Mimic upstream commit e7feeef64 to allow for extra output lines
+ ;; in TestSetupReadline on Python 3.8. Remove for jedi > 0.17.0.
+ (substitute* "test/test_utils.py"
+ (("assert len\\(difference\\) < 20")
+ "assert len(difference) < 22"))
+ #t))
(replace 'check
(lambda _
(setenv "HOME" "/tmp")