Skip to content

Commit

Permalink
Merge pull request #781 from Mause/Mause-patch-2
Browse files Browse the repository at this point in the history
test: Update rowcount test
  • Loading branch information
Mause authored Sep 19, 2023
2 parents ca1d275 + 35f5d6d commit efa8129
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions duckdb_engine/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,10 @@ def test_comment_support() -> None:
duckdb.default_connection.execute('comment on sqlite_master is "hello world";')


@mark.xfail(raises=AttributeError)
def test_rowcount() -> None:
import duckdb

duckdb.default_connection.rowcount # type: ignore
assert duckdb.default_connection.rowcount == -1 # type: ignore


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

0 comments on commit efa8129

Please sign in to comment.