Skip to content

Commit

Permalink
tuple style
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Jan 17, 2022
1 parent 1f8f7c6 commit 67554ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration_tests/pandas_postprocessing_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ def test_resample_with_groupby(self):
method="asfreq",
fill_value=0,
time_column="__timestamp",
groupby_columns=tuple(["city"]),
groupby_columns=("city",),
)
assert list(post_df.columns) == [
"__timestamp",
Expand All @@ -1083,7 +1083,7 @@ def test_resample_with_groupby(self):
method="asfreq",
fill_value=0,
time_column="__timestamp",
groupby_columns=tuple(["city", "unkonw_column"]),
groupby_columns=("city", "unkonw_column",),
)

# should raise error when get a None value in groupby list
Expand All @@ -1094,5 +1094,5 @@ def test_resample_with_groupby(self):
method="asfreq",
fill_value=0,
time_column="__timestamp",
groupby_columns=tuple(["city", None]),
groupby_columns=("city", None,),
)

0 comments on commit 67554ca

Please sign in to comment.