Skip to content

Commit 7ef4191

Browse files
lucaswimansmarie
andauthored
Update tests/test_issues.py
Co-authored-by: Sylvain Marié <sylvain.marie@schneider-electric.com>
1 parent 9041de2 commit 7ef4191

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_issues.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ def decorated(*args, **kwargs):
263263
return issue_85_module.forwardref_method(*args, **kwargs, bar="x")
264264

265265
assert decorated(issue_85_module.ForwardRef()) == "defaultx"
266+
267+
# Check that the type hints of the wrapper are ok with the forward reference correctly resolved
266268
expected_annotations = {
267269
"foo": issue_85_module.ForwardRef,
268270
"return": issue_85_module.ForwardRef,

0 commit comments

Comments
 (0)