diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-02-15 17:11:07 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-02-15 17:11:07 +0000 |
| commit | c96ba553dadd921b9e1e0b3d66092a4182036a55 (patch) | |
| tree | af13e2c57137073ff3fe5865c7063b3e31a9d67c /tests/test_transaction.py | |
| parent | e4a84b9ce9bf61a54db998a78fba18c151cde66c (diff) | |
| download | psycopg2-c96ba553dadd921b9e1e0b3d66092a4182036a55.tar.gz | |
Cleanup of skipping of testing methods on certain Py/PG versions
Diffstat (limited to 'tests/test_transaction.py')
| -rwxr-xr-x | tests/test_transaction.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_transaction.py b/tests/test_transaction.py index cab9c45..90e159a 100755 --- a/tests/test_transaction.py +++ b/tests/test_transaction.py @@ -23,7 +23,7 @@ # License for more details. import threading -from testutils import unittest, skip_if_no_pg_sleep +from testutils import unittest, skip_before_postgres import psycopg2 from psycopg2.extensions import ( @@ -236,7 +236,7 @@ class QueryCancellationTests(unittest.TestCase): def tearDown(self): self.conn.close() - @skip_if_no_pg_sleep('conn') + @skip_before_postgres(8, 2) def test_statement_timeout(self): curs = self.conn.cursor() # Set a low statement timeout, then sleep for a longer period. |
