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 xtreak
Recipients addons_zz, ezio.melotti, michael.foord, ned.deily, paul.moore, rbcollins, tim.golden, xtreak, zach.ware
Date 2019-01-09.01:52:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546998763.62.0.674294080192.issue35687@roundup.psfhosted.org>
In-reply-to
Content
Searching further this seems to be reported earlier with issue24780 with caret displayed wrongly which was also due to newline missing. But the sample case reported here is also listed at one of the examples in https://bugs.python.org/issue24780#msg258466 . There is an open patch with review in the issue. I guess this is a duplicate of issue24780 then?

Related sample case at msg258466

======================================================================
FAIL: test_notrailingnewline_2 (__main__.AssertEqualTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 18, in test_notrailingnewline_2
    self.assertEqual("a\nbcdf", "a\nbddg")
AssertionError: 'a\nbcdf' != 'a\nbddg'
  a
- bcdf+ bddg
History
Date User Action Args
2019-01-09 01:52:45xtreaksetrecipients: + xtreak, paul.moore, rbcollins, tim.golden, ned.deily, ezio.melotti, michael.foord, zach.ware, addons_zz
2019-01-09 01:52:43xtreaksetmessageid: <1546998763.62.0.674294080192.issue35687@roundup.psfhosted.org>
2019-01-09 01:52:43xtreaklinkissue35687 messages
2019-01-09 01:52:43xtreakcreate