From 35f5d6d25da7686ca5aae5e0578835fcc4904a47 Mon Sep 17 00:00:00 2001 From: Elliana May Date: Mon, 18 Sep 2023 08:06:01 +1200 Subject: [PATCH] test: Update rowcount test --- duckdb_engine/tests/test_basic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/duckdb_engine/tests/test_basic.py b/duckdb_engine/tests/test_basic.py index 302636f3..992af884 100644 --- a/duckdb_engine/tests/test_basic.py +++ b/duckdb_engine/tests/test_basic.py @@ -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: