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 bskinn
Recipients brett.cannon, bskinn, takluyver, vstinner, xtreak
Date 2019-04-22.11:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555932449.11.0.970557198285.issue36695@roundup.psfhosted.org>
In-reply-to
Content
Karthikeyan, my apologies for the slow reply -- I posted this right before I went to bed.


To emphasize, the change to the formatting of the string contents, by adding the filename, I think is not problematic: I'm using ellipses to elide everything before and after my custom "warning" message.

Rather, I think the problem is that the string is being rendered as a '' string, instead of as a "" string; IOW:

'Test string with \'enclosing\' single quotes'

vs

"Test string with 'enclosing' double quotes"

---

In the interim, as you suggest, Karthikeyan, I can just conditionally skip the doctests on 3.8 with a suitable pytest -k flag.
History
Date User Action Args
2019-04-22 11:27:29bskinnsetrecipients: + bskinn, brett.cannon, vstinner, takluyver, xtreak
2019-04-22 11:27:29bskinnsetmessageid: <1555932449.11.0.970557198285.issue36695@roundup.psfhosted.org>
2019-04-22 11:27:29bskinnlinkissue36695 messages
2019-04-22 11:27:28bskinncreate