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/2008-July/081102.html below:

[Python-Dev] Proposed unittest changes

[Python-Dev] Proposed unittest changes [Python-Dev] Proposed unittest changesBenjamin Peterson musiccomposition at gmail.com
Tue Jul 15 02:23:59 CEST 2008
On Mon, Jul 14, 2008 at 6:43 PM, Michael Foord
<fuzzyman at voidspace.org.uk> wrote:
>
> However, to provide readable output for errors in even simple tests (like a
> == b) py.test does magic with stack frames and code objects - in order to
> discover the objects being compared.

Maybe what we need to do then is make the assert statement more
powerful. I like the idea of having it call a builtin called
__assert__ which is called by the assert statement. The AST for the
node could be attached.



-- 
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."
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