(self)
| 107 | ) |
| 108 | @testing.fails_on(class="st">"+pg8000", class="st">"returns [1], not (1,)") |
| 109 | def test_cursor_iterable(self): |
| 110 | conn = testing.db.raw_connection() |
| 111 | cursor = conn.cursor() |
| 112 | cursor.execute(str(select(1).compile(testing.db))) |
| 113 | expected = [(1,)] |
| 114 | for row in cursor: |
| 115 | eq_(row, expected.pop(0)) |
| 116 | |
| 117 | def test_no_connect_on_recreate(self): |
| 118 | def creator(): |