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 sobolevn
Recipients davin, pitrou, serhiy.storchaka, sobolevn, vstinner
Date 2021-08-30.11:48:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630324082.06.0.836142723247.issue45042@roundup.psfhosted.org>
In-reply-to
Content
Looks like that this happens because tests classes are decorated with `@hashlib_helper.requires_hashdigest('md5')`: https://github.com/python/cpython/blob/2a8127cafe1d196f858a3ecabf5f1df3eebf9a12/Lib/test/_test_multiprocessing.py#L4482-L4485

Tests above run fine without this decorator.
It was added in https://bugs.python.org/issue17258

The problem is that `` was treating a decorated entity as a function, not a class. https://github.com/python/cpython/blob/e6497fe698f6e87344501a68ffdea106eafcb257/Lib/test/support/hashlib_helper.py#L25 But, it was decorating classes as well.
So, it needs to changed to respect classes.

I will make a PR shortly.
History
Date User Action Args
2021-08-30 11:48:02sobolevnsetrecipients: + sobolevn, pitrou, vstinner, serhiy.storchaka, davin
2021-08-30 11:48:02sobolevnsetmessageid: <1630324082.06.0.836142723247.issue45042@roundup.psfhosted.org>
2021-08-30 11:48:02sobolevnlinkissue45042 messages
2021-08-30 11:48:01sobolevncreate