DEBSOURCES
Skip Quicknav
sources / giac / 1.6.0.41%2Bdfsg1-1 / 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())