From 67554ca0eb70fcb20885483bfda6a9a637477dd4 Mon Sep 17 00:00:00 2001 From: Yongjie Zhao Date: Mon, 17 Jan 2022 17:37:31 +0800 Subject: [PATCH] tuple style --- tests/integration_tests/pandas_postprocessing_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration_tests/pandas_postprocessing_tests.py b/tests/integration_tests/pandas_postprocessing_tests.py index 2da5324570470..50612e1da3055 100644 --- a/tests/integration_tests/pandas_postprocessing_tests.py +++ b/tests/integration_tests/pandas_postprocessing_tests.py @@ -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", @@ -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 @@ -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,), )