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:10:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624021824.3.0.972772164336.issue44451@roundup.psfhosted.org>
In-reply-to
Content
I've added warnings.resetwarnings() to the test. it makes it pass.

It says:


Warning -- warnings.filters was modified by test_importlib
  Before: (140568295281984, [('default', None, <class 'DeprecationWarning'>, '__main__', 0), ('ignore', None, <class 'DeprecationWarning'>, None, 0), ('ignore', None, <class 'PendingDeprecationWarning'>, None, 0), ('ignore', None, <class 'ImportWarning'>, None, 0), ('ignore', None, <class 'ResourceWarning'>, None, 0)], [('default', None, <class 'DeprecationWarning'>, '__main__', 0), ('ignore', None, <class 'DeprecationWarning'>, None, 0), ('ignore', None, <class 'PendingDeprecationWarning'>, None, 0), ('ignore', None, <class 'ImportWarning'>, None, 0), ('ignore', None, <class 'ResourceWarning'>, None, 0)])
  After:  (140568295281984, [('default', None, <class 'DeprecationWarning'>, '__main__', 0), ('ignore', None, <class 'DeprecationWarning'>, None, 0), ('ignore', None, <class 'PendingDeprecationWarning'>, None, 0), ('ignore', None, <class 'ImportWarning'>, None, 0), ('ignore', None, <class 'ResourceWarning'>, None, 0)], []) 
test_importlib failed (env changed)
History
Date User Action Args
2021-06-18 13:10:24hroncoksetrecipients: + hroncok, jaraco, xtreak
2021-06-18 13:10:24hroncoksetmessageid: <1624021824.3.0.972772164336.issue44451@roundup.psfhosted.org>
2021-06-18 13:10:24hroncoklinkissue44451 messages
2021-06-18 13:10:24hroncokcreate