Skip to content

Commit

Permalink
Check type with is.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Aug 14, 2023
1 parent 51328bd commit 8345a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2071,7 +2071,7 @@ def test_max_null_fraction_between(engine, unique_table1, data):
)
def test_column_type_within(engine, mix_table1, data):
(operation, col_name, type_name) = data
if is_impala(engine) and type(type_name) == str:
if is_impala(engine) and type_name is str:
type_name = {"VARCHAR": "string", "INTEGER": "int"}[type_name]
req = requirements.WithinRequirement.from_table(*mix_table1)
req.add_column_type_constraint(col_name, type_name)
Expand Down

0 comments on commit 8345a00

Please sign in to comment.