micropython/tests/cpydiff/modules_sys_stdassign.py

11 lines
216 B
Python
Raw Normal View History

"""
categories: Modules,sys
description: Overriding sys.stdin, sys.stdout and sys.stderr not possible
cause: They are stored in read-only memory.
workaround: Unknown
"""
import sys
sys.stdin = None
print(sys.stdin)