(self)
| 1635 | ''') |
| 1636 | |
| 1637 | async def test_table_as_composite(self): |
| 1638 | await self.con.execute(''' |
| 1639 | CREATE TABLE tab (a text, b int); |
| 1640 | INSERT INTO tab VALUES ('1', 1); |
| 1641 | ''') |
| 1642 | |
| 1643 | try: |
| 1644 | r = await self.con.fetchrow(''' |
| 1645 | SELECT tab FROM tab |
| 1646 | ''') |
| 1647 | |
| 1648 | self.assertEqual(r, (('1', 1),)) |
| 1649 | |
| 1650 | finally: |
| 1651 | await self.con.execute(''' |
| 1652 | DROP TABLE tab; |
| 1653 | ''') |
| 1654 | |
| 1655 | async def test_relacl_array_type(self): |
| 1656 | await self.con.execute(r''' |