13 require q(./test.pl); plan(tests => 1);
19 This example is take from: http://www.python.org/2.3/mro.html
21 "Serious order disagreement" # From Guido
28 class Z(A,B): pass #creates Z(A,B) in Python 2.2
30 pass # Z(A,B) cannot be created in Python 2.3
40 our @ISA = ('X', 'Y');
43 our @ISA = ('Y', 'X');
46 our @ISA = ('XY', 'YX');
49 eval { mro::get_linear_isa('Z', 'c3') };
50 like($@, qr/^Inconsistent hierarchy during C3 merge of class 'Z'/,
51 '... got the right error with an inconsistent hierarchy');