From b3096574c98567c641d1ddab7f6041651f1b027f Mon Sep 17 00:00:00 2001 From: Elliana May Date: Mon, 18 Sep 2023 08:06:01 +1200 Subject: [PATCH] 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 302636f32..992af8849 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: