summaryrefslogtreecommitdiff
path: root/test/engine/test_bind.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/engine/test_bind.py')
-rw-r--r--test/engine/test_bind.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/engine/test_bind.py b/test/engine/test_bind.py
index 956874846..c58e703d3 100644
--- a/test/engine/test_bind.py
+++ b/test/engine/test_bind.py
@@ -133,7 +133,10 @@ class BindTest(fixtures.TestBase):
trans.rollback()
metadata.bind = None
assert (
- conn.execute("select count(*) from test_table").scalar() == 0
+ conn.exec_driver_sql(
+ "select count(*) from test_table"
+ ).scalar()
+ == 0
)
finally:
metadata.drop_all(bind=conn)