File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments