From: srandom <nniixxooss@163.com>
To: 41212@debbugs.gnu.org
Subject: bug#41212: fail to build python-parso
Date: Tue, 12 May 2020 18:46:19 +0800 (CST) [thread overview]
Message-ID: <63dc30a.9ea8.172087e1144.Coremail.nniixxooss@163.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4921 bytes --]
my guix describe:
Generation 3 May 12 2020 09:03:13 (current)
guix 91be384
repository URL: /opt/guix
branch: master
commit: 91be384d2ef87af58f814e10a4ce0d8717bea647
(I store the git repository in /opt/guix and pull the source code of upstream https://github.com/guix-mirror/guix)
build log:
=================================== FAILURES ===================================
_______________ test_python_exception_matches[(lambda: x := 1)] ________________
code = '(lambda: x := 1)'
@pytest.mark.parametrize('code', FAILING_EXAMPLES)
def test_python_exception_matches(code):
wanted, line_nr = _get_actual_exception(code)
errors = _get_error_list(code)
wanted, line_nr = _get_actual_exception(code) [50/1848]
errors = _get_error_list(code)
actual = None
if errors:
error, = errors
actual = error.message
> assert actual in wanted
E AssertionError: assert 'SyntaxError: cannot use named assignment with subscript' in ['SyntaxError: cannot use assignment expressions with subscript']
test/test_python_errors.py:39: AssertionError
__________________ test_python_exception_matches[(a(i) := x)] __________________
code = '(a(i) := x)'
@pytest.mark.parametrize('code', FAILING_EXAMPLES)
def test_python_exception_matches(code):
wanted, line_nr = _get_actual_exception(code)
errors = _get_error_list(code)
actual = None
if errors:
error, = errors
actual = error.message
> assert actual in wanted
E AssertionError: assert 'SyntaxError: cannot use named assignment with function call' in ['SyntaxError: cannot use assignment expressions with function call']
test/test_python_errors.py:39: AssertionError
__________________ test_python_exception_matches[(a.b := c)] ___________________
code = '(a.b := c)'
@pytest.mark.parametrize('code', FAILING_EXAMPLES)
def test_python_exception_matches(code):
wanted, line_nr = _get_actual_exception(code)
errors = _get_error_list(code)
actual = None
if errors:
error, = errors
actual = error.message
> assert actual in wanted
E AssertionError: assert 'SyntaxError: cannot use named assignment with attribute' in ['SyntaxError: cannot use assignment expressions with attribute']
test/test_python_errors.py:39: AssertionError
_____ test_python_exception_matches[[(i.i:= 0) for ((i), j) in range(5)]] ______
code = '[(i.i:= 0) for ((i), j) in range(5)]'
@pytest.mark.parametrize('code', FAILING_EXAMPLES)
def test_python_exception_matches(code):
wanted, line_nr = _get_actual_exception(code)
def test_python_exception_matches(code): [0/1848]
wanted, line_nr = _get_actual_exception(code)
errors = _get_error_list(code)
actual = None
if errors:
error, = errors
actual = error.message
> assert actual in wanted
E AssertionError: assert 'SyntaxError: cannot use named assignment with attribute' in ['SyntaxError: cannot use assignment expressions with attribute']
test/test_python_errors.py:39: AssertionError
________________ test_python_exception_matches[(await a := x)] _________________
code = '(await a := x)'
@pytest.mark.parametrize('code', FAILING_EXAMPLES)
def test_python_exception_matches(code):
wanted, line_nr = _get_actual_exception(code)
errors = _get_error_list(code)
actual = None
if errors:
error, = errors
actual = error.message
> assert actual in wanted
E AssertionError: assert 'SyntaxError: cannot use named assignment with await expression' in ['SyntaxError: cannot use assignment expressions with await expression
']
test/test_python_errors.py:39: AssertionError
_______________ test_python_exception_matches[((await a) := x)] ________________
code = '((await a) := x)'
@pytest.mark.parametrize('code', FAILING_EXAMPLES)
def test_python_exception_matches(code):
wanted, line_nr = _get_actual_exception(code)
errors = _get_error_list(code)
actual = None
if errors:
error, = errors
actual = error.message
> assert actual in wanted
E AssertionError: assert 'SyntaxError: cannot use named assignment with await expression' in ['SyntaxError: cannot use assignment expressions with await expression
']
test/test_python_errors.py:39: AssertionError
================== 9 failed, 1181 passed, 1 xfailed in 17.76s ==================
command "pytest" "-vv" failed with status 1
How should I solve it?
[-- Attachment #2: Type: text/html, Size: 8916 bytes --]
next reply other threads:[~2020-05-12 15:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-12 10:46 srandom [this message]
2020-05-12 18:12 ` bug#41212: fail to build python-parso zimoun
2020-09-01 17:59 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=63dc30a.9ea8.172087e1144.Coremail.nniixxooss@163.com \
--to=nniixxooss@163.com \
--cc=41212@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).