From 7c8673f9373d49a1b83ceb8cc909d84e2f592adf Mon Sep 17 00:00:00 2001 From: Jianzhun Du Date: Tue, 6 Aug 2024 17:55:55 -0700 Subject: [PATCH] fix --- tests/mock/test_pandas_util.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/mock/test_pandas_util.py b/tests/mock/test_pandas_util.py index 53bad4cacb5..70ff77ed562 100644 --- a/tests/mock/test_pandas_util.py +++ b/tests/mock/test_pandas_util.py @@ -1,9 +1,13 @@ # # Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved. # -import pandas as pd import pytest +try: + import pandas as pd # noqa: F401 +except ImportError: + pytest.skip("pandas is not installed") + from snowflake.snowpark import DataFrame