Skip to content

Commit

Permalink
chore: format output
Browse files Browse the repository at this point in the history
  • Loading branch information
tobymao committed May 8, 2024
1 parent c720b14 commit 91589b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/core/engine_adapter/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_current_data(self, table: exp.Table) -> pd.DataFrame:
df = self.engine_adapter.fetchdf(exp.select("*").from_(table), quote_identifiers=True)
if self.dialect == "snowflake" and "id" in df.columns:
df["id"] = df["id"].apply(lambda x: x if pd.isna(x) else int(x))
return df
return self._format_df(df)

def compare_with_current(self, table: exp.Table, expected: pd.DataFrame) -> None:
compare_dataframes(
Expand Down

0 comments on commit 91589b9

Please sign in to comment.