diff --git a/tests/columns/test_timecolumn.py b/tests/columns/test_timecolumn.py index 3b9ed493..d444ab4c 100644 --- a/tests/columns/test_timecolumn.py +++ b/tests/columns/test_timecolumn.py @@ -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): diff --git a/tests/columns/test_urlcolumn.py b/tests/columns/test_urlcolumn.py index afcac5ca..b8a03052 100644 --- a/tests/columns/test_urlcolumn.py +++ b/tests/columns/test_urlcolumn.py @@ -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):