Skip to content

Commit f15fe13

Browse files
srinivasreddyambv
authored andcommitted
Address review comments
1 parent 2580ec0 commit f15fe13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/test/test_traceback.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5096,8 +5096,8 @@ def __getattribute__(self, x):
50965096
print(x)
50975097
print(qq)
50985098

5099-
for name, instance in (("a", A()), ("b", B())):
5100-
with self.subTest(name=name):
5099+
for instance in (A(), B()):
5100+
with self.subTest(instance=instance):
51015101
actual = self.get_suggestion(instance, "pop")
51025102
self.assertIn("name 'qq' is not defined", actual)
51035103
self.assertEqual(actual.count("NameError"), 1)

0 commit comments

Comments
 (0)