Skip to content

Commit

Permalink
pythongh-99894: Ensure the local names don't collide with the test fi…
Browse files Browse the repository at this point in the history
…le in traceback suggestion error checking
  • Loading branch information
pablogsal committed Nov 30, 2022
1 parent 05dfc53 commit 5612e56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/test/test_traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -2979,8 +2979,8 @@ class MyClass:
with self.subTest(name=name):
actual = self.get_suggestion(MyClass, name)
self.assertNotIn("you mean", actual)
self.assertNotIn("vvv", actual)
self.assertNotIn("mom", actual)
self.assertNotIn("'vvv'", actual)
self.assertNotIn("'mom'", actual)
self.assertNotIn("'id'", actual)
self.assertNotIn("'w'", actual)
self.assertNotIn("'pytho'", actual)
Expand Down

0 comments on commit 5612e56

Please sign in to comment.