Skip to content

Commit

Permalink
fix(nightly): fix default connection references for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Mause authored Nov 7, 2024
1 parent c1af18b commit c0848d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions duckdb_engine/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def test_get_views(conn: Connection, dialect: Dialect) -> None:
@mark.skipif(os.uname().machine == "aarch64", reason="not supported on aarch64")
@mark.remote_data
def test_preload_extension() -> None:
duckdb.default_connection.execute("INSTALL httpfs")
duckdb.connect().execute("INSTALL httpfs")
engine = create_engine(
"duckdb:///",
connect_args={
Expand Down Expand Up @@ -443,7 +443,7 @@ class Notice(Base):
def test_rowcount() -> None:
import duckdb

assert duckdb.default_connection.rowcount == -1
assert duckdb.connect().rowcount == -1


def test_sessions(session: Session) -> None:
Expand Down

0 comments on commit c0848d2

Please sign in to comment.