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."
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