Julian Scheid <julian...@googlemail.com> added the comment:

Having this in 2.6/2.7 would be great.

I don't think the ELLIPSIS workaround suggested by Barry works, have you 
actually tried it?

Below is an example where ELLIPSIS doesn't seem to help (run in 2.6.5).  I have 
also tried "...Error:" and "...:", and tried replacing ". . ." by "...", to no 
avail.

I'm assuming this has to do with issue #1192554, or am I making a silly mistake?

Otherwise, are there any other workarounds you can suggest?

Without ellipsis the following example works in 2.6 but of course fails in 3.x.

Failed example:
    Redacted.from_str('1-7@') #doctest: +ELLIPSIS
Expected:
    Traceback (most recent call last):
      . . .
    ...ParserError: <message redacted>:
    1-7@
        ^
    expected digit
Got:
    Traceback (most recent call last):
      <SNIP>
    ParserError: <message redacted>:
    1-7@
        ^
    expected digit

----------
nosy: +Julian.Scheid

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7490>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to