Skip to content

Commit

Permalink
Remove if True which was probably used for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
earshinov committed May 24, 2020
1 parent 964fa26 commit ee0e6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee0e6ba

Please sign in to comment.