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'].
Loading
Please register or sign in to comment