Skip to content

Commit 621d781

Browse files
committed
fix message
1 parent 06efb39 commit 621d781

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

bigframes/functions/_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def _get_updated_package_requirements(
7979
# we use `ignore_package_version` to optionally omit the version for
8080
# managed functions only.
8181
msg = bfe.format_message(
82-
"Numpy, Pandas, and Pyarrow version may not precisely match your local environment."
82+
"numpy, pandas, and pyarrow versions in the function execution"
83+
" environment may not precisely match your local environment."
8384
)
8485
warnings.warn(msg, category=bfe.FunctionPackageVersionWarning)
8586
requirements.append("pandas")

tests/system/large/functions/test_managed_function.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,10 @@ def analyze(row):
731731

732732
with pytest.warns(
733733
bfe.FunctionPackageVersionWarning,
734-
match=("Numpy, Pandas, and Pyarrow version may not precisely match."),
734+
match=(
735+
"numpy, pandas, and pyarrow versions in the function execution"
736+
"\nenvironment may not precisely match your local environment."
737+
),
735738
):
736739

737740
analyze_mf = session.udf(

0 commit comments

Comments
 (0)