Skip to content

Commit

Permalink
test: skip new adbc test when run on windows or <= python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
skellys committed Aug 29, 2024
1 parent d4bd536 commit e70a148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions py-polars/tests/unit/io/database/test_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ def test_write_database_sa_commit(tmp_path: str, pass_connection: bool) -> None:
assert_frame_equal(result, df)


@pytest.mark.skipif(
sys.version_info < (3, 9) or sys.platform == "win32",
reason="adbc not available on Windows or <= Python 3.8",
)
def test_write_database_adbc_temporary_table() -> None:
"""Confirm that execution_options are passed along to create temporary tables."""
df = pl.DataFrame({"colx": [1, 2, 3]})
Expand Down

0 comments on commit e70a148

Please sign in to comment.