[New-bugs-announce] [issue43995] test_grammar fails if run sequentially

Erlend Egeberg Aasland report at bugs.python.org
Fri Apr 30 18:56:43 EDT 2021

New submission from Erlend Egeberg Aasland <erlend.aasland at innova.no>:

To reproduce:
$ ./python.exe -m test test_typing test_grammar
0:00:00 load avg: 1.95 Run tests sequentially
0:00:00 load avg: 1.95 [1/2] test_typing
0:00:00 load avg: 1.95 [2/2] test_grammar
test test_grammar failed -- Traceback (most recent call last):
  File "/Users/erlendaasland/src/cpython-support/Lib/test/test_grammar.py", line 396, in test_var_annot_in_module
    with self.assertRaises(NameError):
AssertionError: NameError not raised

test_grammar failed

== Tests result: FAILURE ==

1 test OK.

1 test failed:

Total duration: 969 ms
Tests result: FAILURE

components: Tests
messages: 392532
nosy: erlendaasland, pablogsal
priority: normal
severity: normal
status: open
title: test_grammar fails if run sequentially
versions: Python 3.10

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list