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

Michael 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