From da133c7b0cae5a023a32456b2b52adade6e839e2 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Thu, 25 Nov 2021 18:13:21 +0100 Subject: [PATCH] pylint: remove disabling of misplaced-comparison-constant (#59021) --- tests/test_interval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_interval.py b/tests/test_interval.py index fa960557..0652d091 100644 --- a/tests/test_interval.py +++ b/tests/test_interval.py @@ -84,5 +84,5 @@ def test_interval_set_eq(): assert IntervalSet([(1, 2)]) == [(1, 2)] assert [(1, 2)] == IntervalSet([(1, 2)]) assert not IntervalSet([(1, 2)]) == None # noqa pylint: disable=singleton-comparison - # noqa pylint: disable=singleton-comparison,misplaced-comparison-constant + # noqa pylint: disable=singleton-comparison assert not None == IntervalSet([(1, 2)]) -- 2.30.2