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/import/builtin_ext.py.exp

11 lines
279 B
Plaintext
Raw Normal View History

tests/import/builtin_ext.py: Add test for built-in module override. This verifies the behavior: - Exact matches of built-ins bypass filesystem. - u-prefix modules can be overridden from the filesystem. - Builtin import can be forced using either u-prefix or sys.path=[]. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-05-12 17:10:07 +10:00
<module 'sys'> False
<module 'micropython'> False
<module 'sys'> False
<module 'sys'> False
os from filesystem
<module 'os' from 'ext/os.py'> True / 1
time from filesystem
<module 'time' from 'ext/time.py'> True <function> 1
tests: Replace umodule with module everywhere. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-08-18 16:57:45 +10:00
<module 'os'> False False
<module 'time'> False False
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 154ms 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