diff --git a/tests/experimental/pydantic/test_conversion.py b/tests/experimental/pydantic/test_conversion.py index 78aa1d778a..2990100523 100644 --- a/tests/experimental/pydantic/test_conversion.py +++ b/tests/experimental/pydantic/test_conversion.py @@ -880,7 +880,6 @@ def factory_func(): field = _get_field(mutable_default) created_factory = get_default_factory_for_field(field) - created_factory = created_factory # should return a factory that copies the default parameter assert created_factory() == mutable_default