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 hroncok
Recipients hroncok, jaraco, xtreak
Date 2021-06-18.13:14:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624022095.53.0.22865789467.issue44451@roundup.psfhosted.org>
In-reply-to
Content
Adding the reset to the context manager:

        with warnings.catch_warnings(record=True) as caught:
            warnings.resetwarnings()
            eps[0]

Or even better explicitly:

        with warnings.catch_warnings(record=True) as caught:
            warnings.filterwarnings("default", category=DeprecationWarning)
            eps[0]

Makes it pass and makes the tests framework happy. I still don't understand why it is filtered, but other tests in the file (e.g. test_entry_points_dict_construction) already o this, so I will submit a pull request.
History
Date User Action Args
2021-06-18 13:14:55hroncoksetrecipients: + hroncok, jaraco, xtreak
2021-06-18 13:14:55hroncoksetmessageid: <1624022095.53.0.22865789467.issue44451@roundup.psfhosted.org>
2021-06-18 13:14:55hroncoklinkissue44451 messages
2021-06-18 13:14:55hroncokcreate