.. _impossible-comparison: impossible-comparison / R1739 ============================= **Message emitted:** ``This comparison always evaluates to False`` **Description:** *Emitted when a boolean condition contains a chain of comparisons that is logically contradictory and can never be true (e.g. ``a > b and b > a``).* **Problematic code:** .. literalinclude:: /data/messages/i/impossible-comparison/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/i/impossible-comparison/good.py :language: python Created by the `refactoring `__ checker.