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 vstinner
Recipients Guido.van.Rossum, Mark.Shannon, corona10, gvanrossum, paul.moore, serhiy.storchaka, shihai1991, shreyanavigyan, steve.dower, tim.golden, tim.peters, vstinner, zach.ware
Date 2021-04-27.21:03:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619557395.87.0.676415260623.issue43955@roundup.psfhosted.org>
In-reply-to
Content
File "C:\github\cpython\lib\test\test_distutils.py", line 15, in <module>
    import distutils.tests
  File "C:\github\cpython\lib\contextlib.py", line 140, in __exit__
    next(self.gen)
  File "C:\github\cpython\lib\test\support\warnings_helper.py", line 179, in _filterwarnings
    raise AssertionError("filter (%r, %s) did not catch any warning" %
AssertionError: filter ('The distutils package is deprecated', DeprecationWarning) did not catch any warning

Ah, test_distutils fails if distutils was already imported previously. The test should be fixed.

"""
test test_pdb failed -- Traceback (most recent call last):
  File "C:\github\cpython\lib\doctest.py", line 2205, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for test.test_pdb.test_pdb_issue_20766
  File "C:\github\cpython\lib\test\test_pdb.py", line 1270, in test_pdb_issue_20766
"""

This is a surprising failure. No clue why test_pdb fails when other tests are run previously (when tests are run sequentially).

See also bpo-43960
History
Date User Action Args
2021-04-27 21:03:15vstinnersetrecipients: + vstinner, gvanrossum, tim.peters, paul.moore, tim.golden, Mark.Shannon, zach.ware, serhiy.storchaka, steve.dower, Guido.van.Rossum, corona10, shihai1991, shreyanavigyan
2021-04-27 21:03:15vstinnersetmessageid: <1619557395.87.0.676415260623.issue43955@roundup.psfhosted.org>
2021-04-27 21:03:15vstinnerlinkissue43955 messages
2021-04-27 21:03:15vstinnercreate