Skip to content

Commit 7ff52bb

Browse files
fixed test
1 parent e0f4b5b commit 7ff52bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/snowflake/snowpark/modin/plugin/compiler/snowflake_query_compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14973,7 +14973,7 @@ def rank(
1497314973
args.get("freq")
1497414974
)[1]
1497514975
not in RULE_SECOND_TO_DAY,
14976-
"'freq' argument does not support week, month, quarter, or year",
14976+
"the 'freq' parameter does not support week, month, quarter, or year",
1497714977
),
1497814978
],
1497914979
),

tests/integ/modin/resample/test_resample_asfreq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ def test_asfreq_rule_negative():
8484
)
8585
with pytest.raises(
8686
NotImplementedError,
87-
match="Snowpark pandas `asfreq` does not yet support frequencies week, month, quarter, or year",
87+
match="Snowpark pandas asfreq does not yet support the parameter combination because the 'freq' parameter does not support week, month, quarter, or year.",
8888
):
8989
snow_df.asfreq(freq="3ME")

0 commit comments

Comments
 (0)