Skip to content

Commit f80d3da

Browse files
committed
Fix more tests
1 parent 6054352 commit f80d3da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/idlelib/idle_test/test_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __eq__(self, other):
4444
"Or did you forget to import 'abc'?\n"),
4545
('int.reel', AttributeError,
4646
"type object 'int' has no attribute 'reel'. "
47-
"Did you mean: 'real'?\n"),
47+
"Did you mean '.real' instead of '.reel'?\n"),
4848
)
4949

5050
@force_not_colorized

Lib/test/test_traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4375,7 +4375,7 @@ def __init__(self):
43754375

43764376
# Should suggest 'inner.data'
43774377
actual = self.get_suggestion(Outer(), 'data')
4378-
self.assertIn("Did you mean '.inner.data' instead of '.value'", actual)
4378+
self.assertIn("Did you mean '.inner.data' instead of '.data'", actual)
43794379

43804380
def test_getattr_nested_prioritizes_direct_matches(self):
43814381
# Test that direct attribute matches are prioritized over nested ones

0 commit comments

Comments
 (0)