From 0d318179a95b4021ec44dcd75b9c00f78753f45a Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Mon, 8 Nov 2010 23:53:01 +0000 Subject: [PATCH] Fixed test syntax for py 2.4. --- tests/test_connection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index 18903121..816b6363 100644 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -79,8 +79,7 @@ def skip_if_tpc_disabled(f): mtp = 1 else: mtp = int(cur.fetchone()[0]) - finally: - cnn.close() + cnn.close() if not mtp: import warnings