diff --git a/extra_tests/snippets/syntax_del.py b/extra_tests/snippets/syntax_del.py index 3cdc48ff5..45052f23f 100644 --- a/extra_tests/snippets/syntax_del.py +++ b/extra_tests/snippets/syntax_del.py @@ -33,7 +33,7 @@ def test_del_panic(): # see https://github.com/RustPython/RustPython/issues/4910 def f(): - del l + del b # noqa -l = 'a' +b = 'a' assert_raises(UnboundLocalError, f)