Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/cpydiff/modules_sys_stdassign.py

10 lines
215 B
Python
Raw Normal View History

tests/cpydiff: Add initial set of tests for uPy-CPython differences. These tests are intended to fail, as they provide a programatic record of differences between uPy and CPython. They also contain a special comment at the start of the file which has meta-data describing the difference, including known causes and known workarounds.
2017-02-07 15:55:37 +11:00
"""
categories: Modules,sys
tests/cpydiff/: Improve wording, add more workarounds.
2017-07-09 14:33:55 +03:00
description: Overriding sys.stdin, sys.stdout and sys.stderr not possible
cause: They are stored in read-only memory.
tests/cpydiff: Add initial set of tests for uPy-CPython differences. These tests are intended to fail, as they provide a programatic record of differences between uPy and CPython. They also contain a special comment at the start of the file which has meta-data describing the difference, including known causes and known workarounds.
2017-02-07 15:55:37 +11:00
workaround: Unknown
"""
import sys
sys.stdin = None
print(sys.stdin)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 74ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API