summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_noerror_nested_classes.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/input/func_noerror_nested_classes.py')
-rw-r--r--pylint/test/input/func_noerror_nested_classes.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/pylint/test/input/func_noerror_nested_classes.py b/pylint/test/input/func_noerror_nested_classes.py
new file mode 100644
index 0000000..56e57bb
--- /dev/null
+++ b/pylint/test/input/func_noerror_nested_classes.py
@@ -0,0 +1,18 @@
+# pylint: disable=R0903, print-statement
+"""crash test"""
+
+__revision__ = 1
+
+class Temelekefe(object):
+ """gloubliboulga"""
+
+ def __init__(self):
+ """nested class with function raise error"""
+ class Toto(object):
+ """toto nested class"""
+ def __init__(self):
+ self.attr = 2
+ def toto_method(self):
+ """toto nested class method"""
+ print self
+ print 'error ?', self, Toto