Fixed test syntax for py 2.4.

This commit is contained in:
Daniele Varrazzo 2010-11-08 23:53:01 +00:00
parent af3681cc1c
commit 0d318179a9

View File

@ -79,8 +79,7 @@ def skip_if_tpc_disabled(f):
mtp = 1 mtp = 1
else: else:
mtp = int(cur.fetchone()[0]) mtp = int(cur.fetchone()[0])
finally: cnn.close()
cnn.close()
if not mtp: if not mtp:
import warnings import warnings