summaryrefslogtreecommitdiff
path: root/pylint/checkers/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/base.py')
-rw-r--r--pylint/checkers/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/base.py b/pylint/checkers/base.py
index 0206b1202..9d61cf10f 100644
--- a/pylint/checkers/base.py
+++ b/pylint/checkers/base.py
@@ -606,7 +606,7 @@ class BasicErrorChecker(_BasicChecker):
# PEP 448 unpacking.
return
- stmt = node.statement()
+ stmt = node.statement(future=True)
if not isinstance(stmt, nodes.Assign):
return