Message396060
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. |
|
Date |
User |
Action |
Args |
2021-06-18 13:14:55 | hroncok | set | recipients:
+ hroncok, jaraco, xtreak |
2021-06-18 13:14:55 | hroncok | set | messageid: <1624022095.53.0.22865789467.issue44451@roundup.psfhosted.org> |
2021-06-18 13:14:55 | hroncok | link | issue44451 messages |
2021-06-18 13:14:55 | hroncok | create | |
|