@@ -2978,9 +2978,9 @@ class MyClass:
2978
2978
for name in ("b" , "v" , "m" , "py" ):
2979
2979
with self .subTest (name = name ):
2980
2980
actual = self .get_suggestion (MyClass , name )
2981
- self .assertNotIn ("you mean" , actual )
2982
- self .assertNotIn ("vvv" , actual )
2983
- self .assertNotIn ("mom" , actual )
2981
+ self .assertNotIn ("Did you mean" , actual )
2982
+ self .assertNotIn ("' vvv" , actual )
2983
+ self .assertNotIn ("' mom' " , actual )
2984
2984
self .assertNotIn ("'id'" , actual )
2985
2985
self .assertNotIn ("'w'" , actual )
2986
2986
self .assertNotIn ("'pytho'" , actual )
@@ -3168,9 +3168,9 @@ def test_import_from_error_bad_suggestions_do_not_trigger_for_small_names(self):
3168
3168
for name in ("b" , "v" , "m" , "py" ):
3169
3169
with self .subTest (name = name ):
3170
3170
actual = self .get_import_from_suggestion (code , name )
3171
- self .assertNotIn ("you mean" , actual )
3172
- self .assertNotIn ("vvv" , actual )
3173
- self .assertNotIn ("mom" , actual )
3171
+ self .assertNotIn ("Did you mean" , actual )
3172
+ self .assertNotIn ("' vvv' " , actual )
3173
+ self .assertNotIn ("' mom' " , actual )
3174
3174
self .assertNotIn ("'id'" , actual )
3175
3175
self .assertNotIn ("'w'" , actual )
3176
3176
self .assertNotIn ("'pytho'" , actual )
0 commit comments