This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lovasoa
Recipients lovasoa
Date 2019-05-06.07:34:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557128091.8.0.92390495342.issue36810@roundup.psfhosted.org>
In-reply-to
Content
When using documentations tests to test a function that uses typing.get_type_hints, an error is thrown.

The error is thrown when trying to get the type hints for a class that was defined in a documentation test.

I was able to reproduce it both on current and PEP563 type annotations: https://gist.github.com/lovasoa/74ea62a89f5bf073b0e0c2f222008ae3
History
Date User Action Args
2019-05-06 07:34:51lovasoasetrecipients: + lovasoa
2019-05-06 07:34:51lovasoasetmessageid: <1557128091.8.0.92390495342.issue36810@roundup.psfhosted.org>
2019-05-06 07:34:51lovasoalinkissue36810 messages
2019-05-06 07:34:51lovasoacreate