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 BTaskaya, asvetlov, jack1142, miss-islington, pablogsal, serhiy.storchaka, vstinner, yselivanov
Date 2020-03-30.13:17:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585574239.6.0.634264671022.issue39562@roundup.psfhosted.org>
In-reply-to
Content
This change caused python-gmpy2 tests to fail:
https://bugzilla.redhat.com/show_bug.cgi?id=1817710

Reproducer:
---
from __future__ import print_function, division
import doctest

filename = "doctest.txt"
with open(filename, "w") as fp:
    print("""
Test
====

    >>> all(x == 1 for x in [1, 1, 1])
    True
    """.strip(), file=fp)

result = doctest.testfile(filename, globs=globals())
print("result:", result)
---
History
Date User Action Args
2020-03-30 13:17:19vstinnersetrecipients: + vstinner, asvetlov, serhiy.storchaka, yselivanov, pablogsal, miss-islington, BTaskaya, jack1142
2020-03-30 13:17:19vstinnersetmessageid: <1585574239.6.0.634264671022.issue39562@roundup.psfhosted.org>
2020-03-30 13:17:19vstinnerlinkissue39562 messages
2020-03-30 13:17:19vstinnercreate