summaryrefslogtreecommitdiff
path: root/test/engine/test_execute.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-08-09 23:34:23 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-08-09 23:34:23 -0400
commitf665ae746428cdb69e97d4576da29268a388569a (patch)
treea997fe24b9f0c7e7fa9df600b3e8f750b497d038 /test/engine/test_execute.py
parenta9288ca5bd979d8aab9921f71bf5b722b1c3ab3d (diff)
downloadsqlalchemy-f665ae746428cdb69e97d4576da29268a388569a.tar.gz
this reorganizes things so the EventDescriptor and all is on a "Dispatch" object.
this leaves the original Event class alone so sphinx documents it. this is all a mess right now but the pool/engine tests are working fully at the moment so wanted to mark a working version.
Diffstat (limited to 'test/engine/test_execute.py')
-rw-r--r--test/engine/test_execute.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py
index 6e6069f04..cacc5385a 100644
--- a/test/engine/test_execute.py
+++ b/test/engine/test_execute.py
@@ -320,10 +320,11 @@ class EngineEventsTest(TestBase):
== params or testparams == posn):
break
- for engine in \
- engines.testing_engine(options=dict(implicit_returning=False)), \
+ for engine in [
+# engines.testing_engine(options=dict(implicit_returning=False)),
engines.testing_engine(options=dict(implicit_returning=False,
- strategy='threadlocal')):
+ strategy='threadlocal'))
+ ]:
event.listen(execute, 'on_execute', engine)
event.listen(cursor_execute, 'on_cursor_execute', engine)