micropython/tests/cpydiff/modules_sys_stdassign.py

10 lines
223 B
Python
Raw Normal View History

"""
categories: Modules,sys
description: Override sys.stdin, sys.stdout and sys.stderr. Impossible as they are stored in read-only memory.
cause: Unknown
workaround: Unknown
"""
import sys
sys.stdin = None
print(sys.stdin)