monty 0.0.20

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
# run-async
# Test that exceptions in async functions propagate correctly


async def raises_error():
    raise ValueError('async error')


await raises_error()  # pyright: ignore
# Raise=ValueError('async error')