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/094464.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?Lennart Regebro lregebro at jarn.com
Wed Dec 9 18:11:29 CET 2009
On Wed, Dec 9, 2009 at 17:34, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> Can you be more specific?

Only with an insane amount of work. I'll hold that off for a while.

> Relying on specific formatting for test results *sounds* like you are relying on an implementation detail

Yeah, but that's doctests for you. And it's a mode of testing that
makes sense when you test testrunners, as the result of a testrunner
is the output. It's extremely hard to *not* test a testrunner without
looking at the output.

> Some of the failure reporting in unittest has *improved* in Python 2.7 - are you feeding the output of unittest back into doctest... ?

Yes, as this is a testrunner being tested.

-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
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