This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
96b0c211d1
circuitpython
/
tests
/
basics
/
io_stringio_with.py
6 lines
104 B
Python
Raw
Normal View
History
Unescape
Escape
tests: Replace umodule with module everywhere. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-08-18 02:57:45 -04:00
import
io
tests: Add missing tests for builtins, and many other things.
2015-04-04 17:05:30 -04:00
# test __enter__/__exit__
with
io
.
StringIO
(
)
as
b
:
b
.
write
(
"
foo
"
)
print
(
b
.
getvalue
(
)
)
Reference in New Issue
Copy Permalink