A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-November/030476.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.162Guido van Rossum guido@python.org
Tue, 26 Nov 2002 10:13:41 -0500
> > 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...

Oh, shit.  I didn't review the code well enough.  I'll change the test
to check that we get *some* message starting with "MRO conflict among
bases".

--Guido van Rossum (home page: http://www.python.org/~guido/)



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