test_traceback_suggestions:test_compute_suggestion_name_error_from_global
def test_compute_suggestion_name_error_from_global():
def f():
test_compute_suggestion_name_error_from_globl
try:
> f()
../build/extra_tests/test_traceback_suggestions.py:96:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
def f():
> test_compute_suggestion_name_error_from_globl
E NameError: name 'test_compute_suggestion_name_error_from_globl' is not defined
../build/extra_tests/test_traceback_suggestions.py:93: NameError
During handling of the above exception, another exception occurred:
def test_compute_suggestion_name_error_from_global():
def f():
test_compute_suggestion_name_error_from_globl
try:
f()
except NameError as e:
> assert fmt(e) == "NameError: name 'test_compute_suggestion_name_error_from_globl' is not defined. Did you mean: 'test_compute_suggestion_name_error_from_global'?\n"
E assert 'NameError: n...not defined\n' == "NameError: n...om_global'?\n"
E Skipping 68 identical leading characters in diff, use -v to show
E - ot defined. Did you mean: 'test_compute_suggestion_name_error_from_global'?
E + ot defined
../build/extra_tests/test_traceback_suggestions.py:98: AssertionError
builder: pypy-c-jit-linux-x86-32 build #8377+
test: test_traceback_suggestions:test_compute_suggestion_name_error_from_global