Łukasz Langa <luk...@langa.pl> added the comment: The doctest runner sets an output redirecting debugger, which subclasses Pdb, around actually running the doctest. This action causes the hang. New finding, we can hang the test with test_pdb too:
$ python3.9 -m test test_pdb test_builtin -v ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44887> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com