(self)
| 1681 | ''') |
| 1682 | |
| 1683 | async def test_table_as_composite(self): |
| 1684 | await self.con.execute(''' |
| 1685 | CREATE TABLE tab (a text, b int); |
| 1686 | INSERT INTO tab VALUES ('1', 1); |
| 1687 | ''') |
| 1688 | |
| 1689 | try: |
| 1690 | r = await self.con.fetchrow(''' |
| 1691 | SELECT tab FROM tab |
| 1692 | ''') |
| 1693 | |
| 1694 | self.assertEqual(r, (('1', 1),)) |
| 1695 | |
| 1696 | finally: |
| 1697 | await self.con.execute(''' |
| 1698 | DROP TABLE tab; |
| 1699 | ''') |
| 1700 | |
| 1701 | async def test_relacl_array_type(self): |
| 1702 | await self.con.execute(r''' |