summaryrefslogtreecommitdiff
path: root/tests/functional/u/using_constant_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/u/using_constant_test.py')
-rw-r--r--tests/functional/u/using_constant_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/functional/u/using_constant_test.py b/tests/functional/u/using_constant_test.py
index d6624daa6..7e902e021 100644
--- a/tests/functional/u/using_constant_test.py
+++ b/tests/functional/u/using_constant_test.py
@@ -1,7 +1,7 @@
"""Verify if constant tests are used inside if statements."""
# pylint: disable=invalid-name, missing-docstring,too-few-public-methods
# pylint: disable=no-init,expression-not-assigned, useless-object-inheritance
-# pylint: disable=missing-parentheses-for-call-in-test, unnecessary-comprehension
+# pylint: disable=missing-parentheses-for-call-in-test, unnecessary-comprehension, condition-evals-to-constant
import collections
@@ -87,7 +87,6 @@ if Class.method: # [using-constant-test]
if instance.method: # [using-constant-test]
pass
-
# For these, we require to do inference, even though the result can be a
# constant value. For some of them, we could determine that the test
# is constant, such as 2 + 3, but the components of the BinOp