summaryrefslogtreecommitdiff
path: root/test/engine/test_execute.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 17:19:00 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 17:19:00 -0400
commit7b24e458c7523694ab07acb31b67d1c00e7a266a (patch)
treee3f2319b6e9df82492ec9719bbfc2884b792a1a3 /test/engine/test_execute.py
parent68a350d462b6840d6623a89565f8febf3a997830 (diff)
downloadsqlalchemy-7b24e458c7523694ab07acb31b67d1c00e7a266a.tar.gz
- move all the comments that got shoved below the fixture grabs back up
Diffstat (limited to 'test/engine/test_execute.py')
-rw-r--r--test/engine/test_execute.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py
index 35a3c36c9..8cdcdc097 100644
--- a/test/engine/test_execute.py
+++ b/test/engine/test_execute.py
@@ -385,7 +385,6 @@ class ResultProxyTest(fixtures.TestBase):
@testing.provide_metadata
def test_no_rowcount_on_selects_inserts(self):
- metadata = self.metadata
"""assert that rowcount is only called on deletes and updates.
This because cursor.rowcount can be expensive on some dialects
@@ -393,6 +392,8 @@ class ResultProxyTest(fixtures.TestBase):
"""
+ metadata = self.metadata
+
engine = engines.testing_engine()
metadata.bind = engine