summaryrefslogtreecommitdiff
path: root/tests/functional/n
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/n')
-rw-r--r--tests/functional/n/non/non_parent_init_called.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functional/n/non/non_parent_init_called.py b/tests/functional/n/non/non_parent_init_called.py
new file mode 100644
index 000000000..157adeb2a
--- /dev/null
+++ b/tests/functional/n/non/non_parent_init_called.py
@@ -0,0 +1,10 @@
+"""This used to raise a non-parent-init-called on Pylint 1.3
+See issue https://bitbucket.org/logilab/pylint/issue/308/ for reference"""
+# pylint: disable=abstract-method, unused-argument
+
+from tracemalloc import Sequence
+
+
+class _Traces(Sequence):
+ def __init__(self, traces):
+ Sequence.__init__(self)