test_typing.test_awaitable (from the 3.6 test suite) raises a StopIteration with the DLR based async implementation. Here's a simplified version of the test. It should run to completion, but currently produces a StopIteration error (on .NET 8 and .NET 10).
class AwaitableWrapper:
def __await__(self):
yield
return 42
def test_awaitable():
async def foo():
return await AwaitableWrapper()
g = foo()
g.send(None)
test_awaitable()
@BCSharp
test_typing.test_awaitable(from the 3.6 test suite) raises aStopIterationwith the DLR based async implementation. Here's a simplified version of the test. It should run to completion, but currently produces aStopIterationerror (on .NET 8 and .NET 10).@BCSharp