micropython/tests/cpydiff/modules_sys_stdassign.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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)