diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-06-24 22:37:49 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-24 23:18:19 +0200 |
commit | fdf9aaec022ce6e6229dde79877950cdd3989736 (patch) | |
tree | 76304a4cedb3b237f3310d0d1c1b5efc97b085ca /gnu/packages/python-xyz.scm | |
parent | 3e7b6dd149456f91b1b12e6da6812fcce2612b18 (diff) | |
download | guix-fdf9aaec022ce6e6229dde79877950cdd3989736.tar.gz |
gnu: python-jedi: Fix tests.
* gnu/packages/python-xyz.scm (python-jedi)[source]: Add 'modules' and 'snippet'.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f8ca2242ed..5ca355b1a7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17033,7 +17033,14 @@ scans through a file and detects issues.") (file-name (git-file-name name version)) (sha256 (base32 - "07drmi3ai49jw5n23ibkambcgijqcw073ihypjgxfnks5lv4yqy1")))) + "07drmi3ai49jw5n23ibkambcgijqcw073ihypjgxfnks5lv4yqy1")) + (modules '((guix build utils))) + (snippet + ;; Adjust comprehension syntax for Python > 3.8. + ;; From <https://github.com/davidhalter/jedi/issues/1824>. + '(substitute* "test/completion/lambdas.py" + (("if lambda: 3") + "if (lambda: 3)"))))) (build-system python-build-system) (arguments `(#:phases |