summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-09-27 12:13:06 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-09-27 12:13:06 -0400
commit1704eacf24f803283033c172cb74b0fb4e9e36d8 (patch)
treebb4bb47d9c97ab9edde447f4e50c96d55fce9355
parenta8e1d33ae514a045d71d0a26d0c1325eecd4ca99 (diff)
downloadsqlalchemy-1704eacf24f803283033c172cb74b0fb4e9e36d8.tar.gz
- fix bool test
-rw-r--r--test/sql/test_insert_exec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/test_insert_exec.py b/test/sql/test_insert_exec.py
index 6482b730f..c49947425 100644
--- a/test/sql/test_insert_exec.py
+++ b/test/sql/test_insert_exec.py
@@ -77,7 +77,7 @@ class InsertExecTest(fixtures.TablesTest):
comp = ins.compile(engine, column_keys=list(values))
if not set(values).issuperset(
c.key for c in table_.primary_key):
- is_(comp.returning, True)
+ is_(bool(comp.returning), True)
result = engine.execute(table_.insert(), **values)
ret = values.copy()