From b824b5e5388c2599a69484a6ac01688e90dae88b Mon Sep 17 00:00:00 2001 From: Jianzhun Du <68252326+sfc-gh-jdu@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:51:36 -0700 Subject: [PATCH] Skip `test_iter_cursor_wait_for_result` for no pandas (#2242) 1. Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR. Fixes SNOW-NNNNNNN 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness of my new code - [ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing - [ ] I am adding new logging messages - [ ] I am adding a new telemetry message - [ ] I am adding new credentials - [ ] I am adding a new dependency - [ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes. 3. Please describe how your code solves the related issue. to_pandas_batches require pandas --- tests/integ/scala/test_async_job_suite.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integ/scala/test_async_job_suite.py b/tests/integ/scala/test_async_job_suite.py index 798196e1017..18d59cab813 100644 --- a/tests/integ/scala/test_async_job_suite.py +++ b/tests/integ/scala/test_async_job_suite.py @@ -489,6 +489,7 @@ def test_async_job_result_wait_no_result(session): assert result is None +@pytest.mark.skipif(not is_pandas_available, reason="pandas is not available") @pytest.mark.parametrize( "action", [