From ee0e6baf83f69dfa47b56b1179957687decc6ee6 Mon Sep 17 00:00:00 2001 From: Evgeny Arshinov Date: Sun, 24 May 2020 14:37:12 +0300 Subject: [PATCH] Remove `if True` which was probably used for debugging --- tests/test_filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_filters.py b/tests/test_filters.py index 2c0367d7a..acab43fb8 100644 --- a/tests/test_filters.py +++ b/tests/test_filters.py @@ -1433,9 +1433,9 @@ def setUpClass(cls): # Django 1.11 does not define __eq__ operators for F and OrderBy. # Define them manually when needed - if True or not hasattr(F, '__eq__'): + if not hasattr(F, '__eq__'): setattr(F, '__eq__', cls.compareF) - if True or not hasattr(OrderBy, '__eq__'): + if not hasattr(OrderBy, '__eq__'): setattr(OrderBy, '__eq__', cls.compareOrderBy) @staticmethod