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