(aconn)
| 732 | |
| 733 | |
| 734 | async def test_str(aconn): |
| 735 | cur = aconn.cursor() |
| 736 | async with cur.copy("copy (select 1) to stdout") as copy: |
| 737 | assert "[ACTIVE]" in str(copy) |
| 738 | await alist(copy) |
| 739 | |
| 740 | assert "[INTRANS]" in str(copy) |
| 741 | |
| 742 | |
| 743 | async def test_description(aconn): |