DEBSOURCES
Skip Quicknav
sources / giac / 1.9.0.93%2Bdfsg2-3 / micropython-1.12 / tests / basics / io_stringio_with.py
123456789
try: import uio as io except ImportError: import io # test __enter__/__exit__ with io.StringIO() as b: b.write("foo") print(b.getvalue())