6 use Test::More tests => 1;
10 This example is take from: http://www.python.org/2.3/mro.html
12 "Serious order disagreement" # From Guido
19 class Z(A,B): pass #creates Z(A,B) in Python 2.2
21 pass # Z(A,B) cannot be created in Python 2.3
42 eval 'use Class::C3' if $Class::C3::C3_IN_CORE;
43 use base ('XY', 'YX');
46 Class::C3::initialize();
48 # now try to calculate the MRO
49 # and watch it explode :)
50 Class::C3::calculateMRO('Z');
53 like($@, qr/Inconsistent hierarchy /, '... got the right error with an inconsistent hierarchy');