extmod/asyncio: Remove non-working Stream __aenter__/__aexit__ methods.

It looks like these never worked and there are no tests for this
functionality.  Furthermore, CPython doesn't support this.

Fixes #12995.

Signed-off-by: Damien George <damien@micropython.org>
pull/13234/head
Damien George 2023-12-20 15:54:05 +11:00
rodzic f6d630877c
commit f46269a1d1
1 zmienionych plików z 0 dodań i 6 usunięć

Wyświetl plik

@ -13,12 +13,6 @@ class Stream:
def get_extra_info(self, v):
return self.e[v]
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc, tb):
await self.close()
def close(self):
pass