diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-01-23 17:31:02 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-01-23 17:31:02 -0500 |
| commit | 2419bfe34cd5a1f4ead67d556ba74f3f1950762b (patch) | |
| tree | 638bb2b41758928c38318fa20f1aee99daad2c50 | |
| parent | 67a69da3aa86c8b2b560ed79a9c91408ad704879 (diff) | |
| download | sqlalchemy-2419bfe34cd5a1f4ead67d556ba74f3f1950762b.tar.gz | |
- fix stray connection
| -rw-r--r-- | test/aaa_profiling/test_resultset.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/aaa_profiling/test_resultset.py b/test/aaa_profiling/test_resultset.py index a964adcae..9ffa21cb6 100644 --- a/test/aaa_profiling/test_resultset.py +++ b/test/aaa_profiling/test_resultset.py @@ -75,7 +75,10 @@ class ExecutionTest(fixtures.TestBase): @profiling.function_call_count() def go(): c.execute("select 1") - go() + try: + go() + finally: + c.close() def test_minimal_engine_execute(self, variance=0.10): # create an engine without any instrumentation. |
