Skip to content

Commit

Permalink
test(python): Fix version bifurcation for `test_read_database_cx_cred…
Browse files Browse the repository at this point in the history
…entials` (#18220)
  • Loading branch information
mcrumiller authored Aug 15, 2024
1 parent f6b19ad commit a739825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/tests/unit/io/database/test_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def test_read_database_exceptions(
],
)
def test_read_database_cx_credentials(uri: str) -> None:
if sys.version_info > (3, 11):
if sys.version_info > (3, 9, 4):
# slightly different error on more recent Python versions
with pytest.raises(RuntimeError, match=r"Source.*not supported"):
pl.read_database_uri("SELECT * FROM data", uri=uri, engine="connectorx")
Expand Down

0 comments on commit a739825

Please sign in to comment.