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
46 eval 'use Class::C3' if $Class::C3::C3_IN_CORE;
47 use base ('XY', 'YX');
50 Class::C3::initialize();
52 # now try to calculate the MRO
53 # and watch it explode :)
54 Class::C3::calculateMRO('Z');
57 like($@, qr/Inconsistent hierarchy /, '... got the right error with an inconsistent hierarchy');