A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-December/094499.html below:

[Python-Dev] Unittest/doctest formatting differences in 2.7a1?

[Python-Dev] Unittest/doctest formatting differences in 2.7a1? [Python-Dev] Unittest/doctest formatting differences in 2.7a1?Paul Moore p.f.moore at gmail.com
Thu Dec 10 20:50:52 CET 2009
2009/12/10 Lennart Regebro <lregebro at jarn.com>:
> On Thu, Dec 10, 2009 at 00:47, Paul Moore <p.f.moore at gmail.com> wrote:
>>> I think so, but what you need is:
>>>
>>>>     >>> throw_an_exception()
>>>>     Traceback (most recent call last):
>>>>         ...
>>>>    ...DesiredException: ...
>>
>> No you don't. From the manual:
>>
>> """
>> When the IGNORE_EXCEPTION_DETAIL doctest option is is specified,
>> everything following the leftmost colon is ignored.
>> """
>
> Note that the difference is *before* the leftmost colon.

Ah, sorry. I missed that important point...

Paul.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4