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/2002-November/030472.html below:

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_descr.py,1.161,1.162

[Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_descr.py,1.161,1.162Michael Hudson mwh@python.net
26 Nov 2002 14:32:07 +0000
gvanrossum@users.sourceforge.net writes:

> Update of /cvsroot/python/python/dist/src/Lib/test
> In directory sc8-pr-cvs1:/tmp/cvs-serv18947
> 
> Modified Files:
> 	test_descr.py 
> Log Message:
> A tweaked version of Jeremy's patch #642489, to produce better error
> messages about MRO conflicts.  (Tweaks here: don't print the message,
> but compare it with an expected string.)
[...]
> +     raises(TypeError, "MRO conflict among bases B, A",
> +            type, "X", (A, B), {})

Unfortunately, the order of the bases in the error message depends on
the order they come out of a dict.  As we all know, this is not a
recipe for happiness...

Not sure what to do about this; I'm just going to comment this test
out in my checkout so I can get on with my stuff.  Shout at me if I
check the test in like that!

Cheers,
M.

-- 
  There are two kinds of large software systems: those that evolved
  from small systems and those that don't work.
                           -- Seen on slashdot.org, then quoted by amk



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