MCPcopy Create free account
hub / github.com/RustPython/RustPython / NotACM

Class NotACM

Lib/test/test_typing.py:7923–7924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7921
7922 def test_async_contextmanager(self):
7923 class NotACM:
7924 pass
7925 self.assertIsInstance(ACM(), typing.AsyncContextManager)
7926 self.assertNotIsInstance(NotACM(), typing.AsyncContextManager)
7927 @contextlib.contextmanager

Callers 1

Calls

no outgoing calls

Tested by 1