diff --git a/tests/typecheckers/test_fields_resolver_async.py b/tests/typecheckers/test_fields_resolver_async.py index f8c1e28ae4..58fef464bf 100644 --- a/tests/typecheckers/test_fields_resolver_async.py +++ b/tests/typecheckers/test_fields_resolver_async.py @@ -34,10 +34,10 @@ def test(): [ Result( type="error", - message="""\ -Expression of type "int" is incompatible with declared type "str" -\xa0\xa0"int" is incompatible with "str"\ -""", + message=( + 'Type "int" is not assignable to declared type "str"\n' + '\xa0\xa0"int" is not assignable to "str"' + ), line=12, column=22, ),