mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
SF bug #699934: Obscure error message
mwh pointed out that the error message did not make sense if obtained by rearranging the bases.
This commit is contained in:
parent
ff41c48a77
commit
f394df47fd
2 changed files with 4 additions and 7 deletions
|
@ -1062,9 +1062,8 @@ def consistency_with_epg():
|
|||
(EditableScrollablePane, ScrollablePane, EditablePane,
|
||||
Pane, ScrollingMixin, EditingMixin, object))
|
||||
|
||||
mro_err_msg = """Cannot create class.The superclasses have conflicting
|
||||
inheritance trees which leave the method resolution order (MRO)
|
||||
undefined for bases """
|
||||
mro_err_msg = """Cannot create a consistent method resolution
|
||||
order (MRO) for bases """
|
||||
|
||||
def mro_disagreement():
|
||||
if verbose: print "Testing error messages for MRO disagreement..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue