diff options
Diffstat (limited to 'tests/test_cursor.py')
-rwxr-xr-x | tests/test_cursor.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_cursor.py b/tests/test_cursor.py index cc8db0f..b3e03d9 100755 --- a/tests/test_cursor.py +++ b/tests/test_cursor.py @@ -436,6 +436,11 @@ class CursorTests(ConnectingTestCase): self.assertEqual([(5,), (6,), (7,)], cur2.fetchall()) @skip_before_postgres(8, 0) + def test_named_noop_close(self): + cur = self.conn.cursor('test') + cur.close() + + @skip_before_postgres(8, 0) def test_scroll(self): cur = self.conn.cursor() cur.execute("select generate_series(0,9)") |