Projet

Général

Profil

0001-pylint-remove-disabling-of-misplaced-comparison-cons.patch

Valentin Deniaud, 25 novembre 2021 18:15

Télécharger (893 octets)

Voir les différences:

Subject: [PATCH] pylint: remove disabling of misplaced-comparison-constant
 (#59021)

 tests/test_interval.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/test_interval.py
84 84
    assert IntervalSet([(1, 2)]) == [(1, 2)]
85 85
    assert [(1, 2)] == IntervalSet([(1, 2)])
86 86
    assert not IntervalSet([(1, 2)]) == None  # noqa pylint: disable=singleton-comparison
87
    # noqa pylint: disable=singleton-comparison,misplaced-comparison-constant
87
    # noqa pylint: disable=singleton-comparison
88 88
    assert not None == IntervalSet([(1, 2)])
89
-