Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2023
1 parent 0b238a9 commit 04cee2e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions duckdb_engine/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ def test_do_ping(tmp_path: Path, caplog: LogCaptureFixture) -> None:
)



def test_361() -> None:
# setup
conn = duckdb.connect("test.duckdb")
Expand All @@ -428,7 +427,7 @@ def test_361() -> None:
stmt = select(date_part).select_from(test).group_by(date_part)
engine.execute(stmt).fetchall()


def test_try_cast(engine: Engine) -> None:
try_cast = importorskip("sqlalchemy", "2.0.14").try_cast

Expand All @@ -444,4 +443,3 @@ def test_params(engine: Engine) -> None:
s = text("SELECT :x")
with engine.connect() as conn:
assert ("m",) == conn.execute(s, {"x": "m"}).fetchone()

0 comments on commit 04cee2e

Please sign in to comment.