diff --git a/extmod/asyncio/stream.py b/extmod/asyncio/stream.py index bcc2a13a86..cb0a804b5e 100644 --- a/extmod/asyncio/stream.py +++ b/extmod/asyncio/stream.py @@ -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