+18
−2
+30
−0
Loading
A warning will be issued in the following situation: ``` >>> def filter(session: Session): ... async with session.body as body_iter: ... await session.body.write(b"spam") >>> test_runner(filter) UserWarning: it looks as if BodyAccessor.write() was called on an instance from within it's own async context await session.body.write(b"spam") ```