mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: python-jedi: Fix tests.
* gnu/packages/python-xyz.scm (python-jedi)[source]: Add 'modules' and 'snippet'.
This commit is contained in:
parent
3e7b6dd149
commit
fdf9aaec02
1 changed files with 8 additions and 1 deletions
|
@ -17033,7 +17033,14 @@ (define-public python-jedi
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue