Skip to content

Commit

Permalink
remove the to_snowpark_pandas test if python 3.9+ is not being used
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-vbudati committed Dec 11, 2024
1 parent 0adc5c7 commit 46ef2e7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/ast/test_ast_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ def load_test_cases():
Returns: a list of test cases.
"""
test_files = DATA_DIR.glob("*.test")
if sys.version_info[1] < 9:
# Remove the `to_snowpark_pandas` test since Snowpark pandas is only supported in Python 3.9+.
test_files = filter(
lambda file: "to_snowpark_pandas" not in file.name, test_files
)
return [parse_file(file) for file in test_files]


Expand Down

0 comments on commit 46ef2e7

Please sign in to comment.