Skip to content

Commit

Permalink
Add skip if pandas is not available to test_stored_proc_register_with…
Browse files Browse the repository at this point in the history
…_module (#1439)

Please answer these questions before submitting your pull requests.
Thanks!

1. What GitHub 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
   - [ ] I am adding new logging messages
   - [ ] I am adding a new telemetry message
   - [ ] I am adding new credentials
   - [ ] I am adding a new dependency

3. Please describe how your code solves the related issue.

Please write a short description of how your code change solves the
related issue.

Signed-off-by: Naren Krishna <[email protected]>
  • Loading branch information
sfc-gh-nkrishna authored Apr 26, 2024
1 parent e8270b2 commit 40157c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integ/test_stored_procedure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1635,6 +1635,7 @@ def f(session: Session) -> int:
assert any("AS $$" in query.sql_text for query in query_history.queries)


@pytest.mark.skipif(not is_pandas_available, reason="Requires pandas")
def test_stored_proc_register_with_module(session):
# use pandas module here
session.custom_package_usage_config["enabled"] = True
Expand Down

0 comments on commit 40157c5

Please sign in to comment.