diff --git a/tests/test_wrapped_method_forward_reference.py b/tests/test_wrapped_method_forward_reference.py index f01fe1474..7403f6002 100644 --- a/tests/test_wrapped_method_forward_reference.py +++ b/tests/test_wrapped_method_forward_reference.py @@ -17,8 +17,8 @@ def passthrough(f): def test_wrapped_method_type_inference(): """ Regression test ensuring that when a method imported from another module - is decorated with something that sets the __wrapped__ attribute, then - the types are still processed correctly, including dereferencing of forward + is decorated with something that sets the __wrapped__ attribute (functools.wraps), + then the types are still processed correctly, including dereferencing of forward references. """ app = FastAPI()