Skip to content

Commit 8b873b6

Browse files
committed
shared/runtime/sys_stdio_mphal: Fix docstring for stdio.
Signed-off-by: timdechant <timdechant.git@gmail.com>
1 parent c6c4c79 commit 8b873b6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/basics/sys_stdio.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
import sys
44

5+
try:
6+
sys.stdout
7+
sys.stdin
8+
sys.stderr
9+
except AttributeError:
10+
print("SKIP")
11+
raise SystemExit
12+
513
# CPython is more verbose; no need to match exactly
614

715
print('TextIOWrapper' in str(sys.stdout))

0 commit comments

Comments
 (0)