summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/test_cursor.py2
-rwxr-xr-xtests/test_with.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cursor.py b/tests/test_cursor.py
index b0a3789..af44f9e 100755
--- a/tests/test_cursor.py
+++ b/tests/test_cursor.py
@@ -436,7 +436,7 @@ class CursorTests(ConnectingTestCase):
self.assertEqual([(2,), (3,), (4,)], cur2.fetchmany(3))
self.assertEqual([(5,), (6,), (7,)], cur2.fetchall())
- @skip_before_postgres(8, 0)
+ @skip_before_postgres(8, 2)
def test_named_noop_close(self):
cur = self.conn.cursor('test')
cur.close()
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