Skip to content

Commit

Permalink
test: Update rowcount test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mause committed Sep 19, 2023
1 parent ca1d275 commit 35f5d6d
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

Check warning on line 320 in duckdb_engine/tests/test_basic.py

View check run for this annotation

Codecov / codecov/patch

duckdb_engine/tests/test_basic.py#L320

Added line #L320 was not covered by tests


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

0 comments on commit 35f5d6d

Please sign in to comment.