summaryrefslogtreecommitdiff
path: root/tests/test_with.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-07-24 19:02:13 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-07-24 21:16:36 +0100
commit466efe4461e5bb5f635f0121734d6c2ae520f459 (patch)
treed18d2c7cc4ec930e55a25578802a2f1543c7fed4 /tests/test_with.py
parent6d8f4f9f0d357beceb4a112e0ba9e3c1f314b8bb (diff)
downloadpsycopg2-466efe4461e5bb5f635f0121734d6c2ae520f459.tar.gz
Bump tests for selective closure of named cursor to pg 8.2
Previous versions don't support the features as they don't have the pg_cursors view. But they are too old to care.
Diffstat (limited to 'tests/test_with.py')
-rwxr-xr-xtests/test_with.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_with.py b/tests/test_with.py
index f26f8f9..1e4c518 100755
--- a/tests/test_with.py
+++ b/tests/test_with.py
@@ -215,7 +215,7 @@ class WithCursorTestCase(WithTestCase):
else:
self.fail("where is my exception?")
- @skip_before_postgres(8, 0)
+ @skip_before_postgres(8, 2)
def test_named_with_noop(self):
with self.conn.cursor('named') as cur:
pass