summaryrefslogtreecommitdiff
path: root/tests/functional/n
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-11-25 21:58:56 +0100
committerGitHub <noreply@github.com>2021-11-25 21:58:56 +0100
commitda275b0f1f3de5f74d00a7fc94729d913cc9af2c (patch)
tree376281bccbf2e7bc2f3868f0e75a2b35c55a690b /tests/functional/n
parentfe69c1d5d7b5b51bd35647839ed59bce539ff4b8 (diff)
downloadpylint-git-da275b0f1f3de5f74d00a7fc94729d913cc9af2c.tar.gz
Move ``TestVariablesChecker`` to functional tests (#5400)
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)