Browse Source

Update test comment

pull/5077/head
Sebastián Ramírez 8 months ago
parent
commit
b9c2452e9d
  1. 4
      tests/test_wrapped_method_forward_reference.py

4
tests/test_wrapped_method_forward_reference.py

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

Loading…
Cancel
Save