diff --git a/CHANGELOG.md b/CHANGELOG.md index 814bcc1c4..d9b97d78b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ -## dbt-redshift 1.0.0 (Release TBD) +## dbt-redshift 1.0.1 (TBD) + +### Fixes +- Fix test related to preventing coercion of boolean values (True,False) to numeric values (0,1) in query results ([#58](https://github.com/dbt-labs/dbt-redshift/blob/1.0.latest/CHANGELOG.md)) + +## dbt-redshift 1.0.0 (December 3, 2021) ## dbt-redshift 1.0.0rc2 (November 24, 2021) diff --git a/tests/unit/utils.py b/tests/unit/utils.py index 68d0fc33f..a7ab7c565 100644 --- a/tests/unit/utils.py +++ b/tests/unit/utils.py @@ -253,7 +253,7 @@ def _get_tester_for(self, column_type): return agate.TimeDelta() for instance in agate_helper.DEFAULT_TYPE_TESTER._possible_types: - if type(instance) is column_type: + if isinstance(instance, column_type): return instance raise ValueError(f'no tester for {column_type}')