Skip to content
Commit cbb29fca authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa.doc.helpers: Make is_test() more robust

inspect.signature() resolves the annotations if they are type names instead of
being types. Accessing the return annotation through it is therefore more robust
than using x.__annotations__['return'].
parent 288550e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment