6 use Test::More tests => 2;
14 This example is take from: http://www.python.org/2.3/mro.html
16 "Serious order disagreement" # From Guido
23 class Z(A,B): pass #creates Z(A,B) in Python 2.2
25 pass # Z(A,B) cannot be created in Python 2.3
45 # use Class::C3; << Dont do this just yet ...
46 use base ('XY', 'YX');
50 # now try to calculate the MRO
51 # and watch it explode :)
52 Class::C3::calculateMRO('Z')
54 like($@, qr/^Inconsistent hierarchy/, '... got the right error with an inconsistent hierarchy');