Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Sep 27, 2024
1 parent 904b23f commit 790a343
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion py-polars/tests/unit/io/database/test_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,27 @@
@pytest.mark.write_disk
@pytest.mark.parametrize(
("engine", "uri_connection"),
[("sqlalchemy", True), ("sqlalchemy", False), ("adbc", True), ("adbc", False)],
[
[("sqlalchemy", True), ("sqlalchemy", False), ("adbc", True), ("adbc", False)],
("sqlalchemy", True),
("sqlalchemy", False),
pytest.param(
"adbc",
True,
marks=pytest.mark.skipif(
sys.platform == "win32",
reason="adbc not available on Windows",
),
),
pytest.param(
"adbc",
False,
marks=pytest.mark.skipif(
sys.platform == "win32",
reason="adbc not available on Windows",
),
),
],
)
class TestWriteDatabase:
"""Database write tests that share common pytest/parametrize options."""
Expand Down

0 comments on commit 790a343

Please sign in to comment.