gnu: python2-urwid: Disable vterm tests.

* gnu/packages/python.scm (python2-urwid)['delete-test_vterm]: Add phase to
delete problematic test modules.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Maxim Cournoyer 2017-04-30 14:55:47 +09:00 committed by Ludovic Courtès
parent e30c2be10d
commit e93793059d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 12 additions and 1 deletions

View File

@ -5509,7 +5509,18 @@ features useful for text console applications.")
(license license:lgpl2.1+)))
(define-public python2-urwid
(package-with-python2 python-urwid))
(let ((python2-urwid (package-with-python2 python-urwid)))
(package
(inherit python2-urwid)
(arguments
(append
'(#:phases
(modify-phases %standard-phases
;; Disable the vterm tests because of non-deterministic failures
;; with Python 2. See https://github.com/urwid/urwid/issues/230.
(add-after 'unpack 'delete-test_vterm.py
(delete-file "urwid/tests/test_vterm.py"))))
(package-arguments python-urwid))))))
(define-public python-openid
(package