[Zope-dev] whitespace filtering corner case in doctest

Reinout van Rees reinout at vanrees.org
Mon Aug 17 10:46:46 EDT 2009


In some cases, importing readline can result in the escape code ^[[?1034h to
be send ("8bit on").  This escape code isn't visible, which leads to hard to
find test errors, see
http://reinout.vanrees.org/weblog/2009/07/16/invisible-test-diff.html

Granted, it are basically corner cases.

On the other hand, it does seem to cause problems now and then, according to
my googling.  Would it be ok to add it to the whitespace normalization of
doctests?  Opinions?


Reinout



-- 
Reinout van Rees - reinout at vanrees.org - http://reinout.vanrees.org
Software developer at http://www.thehealthagency.com
"Military engineers build missiles. Civil engineers build targets"



More information about the Zope-Dev mailing list