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 <>
File "C:\github\cpython\lib\test\", line 15, in <module>
    import distutils.tests
  File "C:\github\cpython\lib\", line 140, in __exit__
  File "C:\github\cpython\lib\test\support\", 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\", 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\", 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
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: <>
2021-04-27 21:03:15vstinnerlinkissue43955 messages
2021-04-27 21:03:15vstinnercreate