summaryrefslogtreecommitdiff
path: root/pylint/checkers/classes.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2016-07-23 18:55:32 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2016-07-23 19:55:32 +0300
commit0b295ce1a0a3da18c0e13ce181c4bb6adcc89230 (patch)
tree2213a7a8b3b9f2b996c312af297ea4f322ec50d4 /pylint/checkers/classes.py
parent05c5c86f56504921427a97fcc69f6be47a80ba99 (diff)
downloadpylint-git-0b295ce1a0a3da18c0e13ce181c4bb6adcc89230.tar.gz
Use ClassDef.instantiate_class() (#1040)
Otherwise we get this from astroid: .../pylint/pylint/checkers/classes.py:1112: PendingDeprecationWarning: ClassDef.instanciate_class() is deprecated and slated for removal in astroid 2.0, use ClassDef.instantiate_class() instead. instance = cls.instanciate_class()
Diffstat (limited to 'pylint/checkers/classes.py')
-rw-r--r--pylint/checkers/classes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/classes.py b/pylint/checkers/classes.py
index 945a27b25..c8ae52195 100644
--- a/pylint/checkers/classes.py
+++ b/pylint/checkers/classes.py
@@ -1109,7 +1109,7 @@ a metaclass class method.'}
args=(method1, refmethod), node=method1)
return
- instance = cls.instanciate_class()
+ instance = cls.instantiate_class()
method1 = function_to_method(method1, instance)
refmethod = function_to_method(refmethod, instance)