mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Fixed test syntax for py 2.4.
This commit is contained in:
parent
af3681cc1c
commit
0d318179a9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user