diff --git a/tests/unit/test_contrib/test_pydantic/test_integration.py b/tests/unit/test_contrib/test_pydantic/test_integration.py index 9a21447f05..8673cd40de 100644 --- a/tests/unit/test_contrib/test_pydantic/test_integration.py +++ b/tests/unit/test_contrib/test_pydantic/test_integration.py @@ -215,8 +215,6 @@ class Config: underscore_fields_are_private = True _field: str = pydantic_v2.PrivateAttr() - # include an invalid annotation here to ensure we never touch those fields - _underscore_field: "foo" # type: ignore[name-defined] # noqa: F821 bar: str