Skip to content

Commit efe4439

Browse files
committed
Fix test
1 parent dff31cf commit efe4439

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Lib/test/test_traceback.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4225,14 +4225,14 @@ def __dir__(self):
42254225
class C1(C0, metaclass=M):
42264226
pass
42274227

4228-
self.assertNotIn("'bluch'", self.get_suggestion(C0, "blach"))
4229-
self.assertIn("'bluch'", self.get_suggestion(C0(), "blach"))
4228+
self.assertNotIn("'.bluch'", self.get_suggestion(C0, "blach"))
4229+
self.assertIn("'.bluch'", self.get_suggestion(C0(), "blach"))
42304230

4231-
self.assertIn("'fox'", self.get_suggestion(C1, "foo"))
4232-
self.assertNotIn("'fox'", self.get_suggestion(C1(), "foo"))
4231+
self.assertIn("'.fox'", self.get_suggestion(C1, "foo"))
4232+
self.assertNotIn("'.fox'", self.get_suggestion(C1(), "foo"))
42334233

4234-
self.assertNotIn("'bluch'", self.get_suggestion(C1, "blach"))
4235-
self.assertIn("'bluch'", self.get_suggestion(C1(), "blach"))
4234+
self.assertNotIn("'.bluch'", self.get_suggestion(C1, "blach"))
4235+
self.assertIn("'.bluch'", self.get_suggestion(C1(), "blach"))
42364236

42374237

42384238
def test_do_not_trigger_for_long_attributes(self):

0 commit comments

Comments
 (0)