[issue9640] Improved doctest REPORT_*DIFFs with ELLIPSIS and/or NORMALIZE_WHITESPACE

2020-11-16 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
nosy: +tim.peters

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9640] Improved doctest REPORT_*DIFFs with ELLIPSIS and/or NORMALIZE_WHITESPACE

2020-11-16 Thread Irit Katriel


Irit Katriel  added the comment:

The patch needs to be converted into a github PR. Trevor, are you interested in 
doing that?

--
nosy: +iritkatriel

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9640] Improved doctest REPORT_*DIFFs with ELLIPSIS and/or NORMALIZE_WHITESPACE

2010-08-19 Thread W. Trevor King

New submission from W. Trevor King wk...@drexel.edu:

I had been struggling to find the failure-causing mismatch in a doctest with 
lots of output.  REPORT_UDIFF gave lots of false mismatches because I was also 
using NORMALIZE_WHITESPACE.  Looking through the doctest.py source, I saw a 
comment suggesting a nicer diff in the similar REPORT_*DIFF and ELLIPSIS 
situation.  So I went ahead and implemented one.  I'm not super happy with the 
cleanliness of the implementation, but it ended up being a bit trickier than 
I'd initially expected.

--
components: Library (Lib)
messages: 114340
nosy: labrat
priority: normal
severity: normal
status: open
title: Improved doctest REPORT_*DIFFs with ELLIPSIS and/or NORMALIZE_WHITESPACE
type: feature request
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9640
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9640] Improved doctest REPORT_*DIFFs with ELLIPSIS and/or NORMALIZE_WHITESPACE

2010-08-19 Thread W. Trevor King

W. Trevor King wk...@drexel.edu added the comment:

Here's my patch, or pull from my Mercurial repository
  
http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/python/rev/6638df20c1a4

--
keywords: +patch
Added file: http://bugs.python.org/file18575/doctest_diff.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9640
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com