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 christian.heimes
Recipients christian.heimes, vstinner
Date 2020-11-17.15:16:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605626169.06.0.31570225205.issue42389@roundup.psfhosted.org>
In-reply-to
Content
The helper function "install_tests_in_module_dict" uses subclass checks to detect test cases in module globals:

    if issubclass(base, BaseTestCase):
        ...
    elif issubclass(base, unittest.TestCase):
        ...

However @requires_hashdigest() returns a function object, not a class instance. None of the tests marked with @requires_hashdigest() are executed any more.
History
Date User Action Args
2020-11-17 15:16:09christian.heimessetrecipients: + christian.heimes, vstinner
2020-11-17 15:16:09christian.heimessetmessageid: <1605626169.06.0.31570225205.issue42389@roundup.psfhosted.org>
2020-11-17 15:16:09christian.heimeslinkissue42389 messages
2020-11-17 15:16:08christian.heimescreate