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/basics/array_construct_endian.py

11 lines
210 B
Python
Raw Permalink Normal View History

tests: Split byteorder-dependent tests to *_endian.py's.
2015-08-30 00:30:28 +03:00
# test construction of array.array from different objects
tests/array*: Allow to skip test if "array" is unavailable.
2017-01-07 01:13:40 +03:00
try:
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
from array import array
tests/array*: Allow to skip test if "array" is unavailable.
2017-01-07 01:13:40 +03:00
except ImportError:
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
print("SKIP")
raise SystemExit
tests: Split byteorder-dependent tests to *_endian.py's.
2015-08-30 00:30:28 +03:00
# raw copy from bytes, bytearray
print(array('h', b'12'))
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 190ms Template: 1ms
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