Skip to content

Commit

Permalink
Fix E502 newly detected
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainDe committed Jun 16, 2024
1 parent df428c0 commit f014d7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions didyoumean/didyoumean_re_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@ def test_unbound_assignment(self):
msgs = [
# Python 2.6/2.7/3.2/3.3/3.4/3.5/../3.10/PyPy/PyPy3
"local variable 'some_var' referenced before assignment",
"free variable 'some_var' referenced before assignment " \
"free variable 'some_var' referenced before assignment "
"in enclosing scope",
# Python 3.11
"cannot access free variable 'some_var' where it is not " \
"cannot access free variable 'some_var' where it is not "
"associated with a value in enclosing scope",
"cannot access local variable 'some_var' where it is not " \
"cannot access local variable 'some_var' where it is not "
"associated with a value",
]
groups = ('some_var',)
Expand Down

0 comments on commit f014d7b

Please sign in to comment.