diff options
Diffstat (limited to 'test/input/func_w0233.py')
-rw-r--r-- | test/input/func_w0233.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/input/func_w0233.py b/test/input/func_w0233.py new file mode 100644 index 000000000..763ccf0aa --- /dev/null +++ b/test/input/func_w0233.py @@ -0,0 +1,19 @@ +# pylint: disable-msg=R0903 +"""test for call to __init__ from a non ancestor class +""" + +__revision__ = '$Id: func_w0233.py,v 1.2 2004-09-29 08:35:13 syt Exp $' + +class AAAA: + """ancestor 1""" + + def __init__(self): + print 'init', self + BBBB.__init__(self) + +class BBBB: + """ancestor 2""" + + def __init__(self): + print 'init', self + |