Skip a test on the proper PG function

This commit is contained in:
Daniele Varrazzo 2011-04-27 12:18:50 +01:00
parent c61ec094a3
commit de6aff31b8

View File

@ -296,7 +296,7 @@ class NamedTupleCursorTest(unittest.TestCase):
self.assertEqual(recs[0].i, 42) self.assertEqual(recs[0].i, 42)
@skip_if_no_namedtuple @skip_if_no_namedtuple
@skip_before_postgres(8, 0) @skip_before_postgres(8, 2)
def test_not_greedy(self): def test_not_greedy(self):
curs = self.conn.cursor('tmp') curs = self.conn.cursor('tmp')
curs.itersize = 2 curs.itersize = 2