summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql/test_dialect.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/postgresql/test_dialect.py')
-rw-r--r--test/dialect/postgresql/test_dialect.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dialect/postgresql/test_dialect.py b/test/dialect/postgresql/test_dialect.py
index e8d9a8eb6..78f561a35 100644
--- a/test/dialect/postgresql/test_dialect.py
+++ b/test/dialect/postgresql/test_dialect.py
@@ -1140,6 +1140,11 @@ $$ LANGUAGE plpgsql;
TransactionStatus.INTRANS,
)
+ def test_select_rowcount(self):
+ conn = testing.db.connect()
+ cursor = conn.exec_driver_sql("SELECT 1")
+ eq_(cursor.rowcount, 1)
+
class Psycopg3Test(fixtures.TestBase):
__only_on__ = ("postgresql+psycopg",)