Skip to content

Commit

Permalink
Fix flake8 errors on type comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
jieter committed Oct 17, 2023
1 parent 4bced85 commit 19921ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/columns/test_timecolumn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Table(tables.Table):
class Meta:
model = TimeModel

assert type(Table.base_columns["field"]) == tables.TimeColumn
assert type(Table.base_columns["field"]) is tables.TimeColumn

def test_value_returns_a_raw_value_without_html(self):
class Table(tables.Table):
Expand Down
2 changes: 1 addition & 1 deletion tests/columns/test_urlcolumn.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Table(tables.Table):
class Meta:
model = URLModel

assert type(Table.base_columns["field"]) == tables.URLColumn
assert type(Table.base_columns["field"]) is tables.URLColumn

def test_text_can_be_overridden(self):
class Table(tables.Table):
Expand Down

0 comments on commit 19921ae

Please sign in to comment.