(self)
| 802 | ) |
| 803 | |
| 804 | def test_mappings_with_columns(self): |
| 805 | result = self._fixture() |
| 806 | |
| 807 | m1 = result.mappings().columns("b", "c") |
| 808 | |
| 809 | eq_(m1.fetchmany(2), [{"b": 1, "c": 1}, {"b": 1, "c": 2}]) |
| 810 | |
| 811 | # no slice here |
| 812 | eq_(result.fetchone(), (1, 3, 2)) |
| 813 | |
| 814 | # still slices |
| 815 | eq_(m1.fetchone(), {"b": 1, "c": 2}) |
| 816 | |
| 817 | def test_scalar_none_iterate(self): |
| 818 | result = self._fixture( |