diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-08 23:53:01 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-11-09 00:09:32 +0000 |
| commit | 0d318179a95b4021ec44dcd75b9c00f78753f45a (patch) | |
| tree | 3390c4fcbe90d9946e7f9ffd0aa8c47576f9fe31 | |
| parent | af3681cc1c6ba203d6a1b811550ba22b348de855 (diff) | |
| download | psycopg2-0d318179a95b4021ec44dcd75b9c00f78753f45a.tar.gz | |
Fixed test syntax for py 2.4.
| -rw-r--r-- | tests/test_connection.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_connection.py b/tests/test_connection.py index 1890312..816b636 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 |
