monty 0.0.20

A sandboxed, snapshotable Python interpreter written in Rust.
Documentation
1
2
3
4
5
6
7
# Tests for sys module types

import sys

# === Verify type() returns _io.TextIOWrapper for stdout/stderr ===
assert str(type(sys.stdout)) == "<class '_io.TextIOWrapper'>"
assert str(type(sys.stderr)) == "<class '_io.TextIOWrapper'>"