diff options
author | Damien George <damien@micropython.org> | 2021-05-20 10:02:57 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-05-26 16:33:18 +1000 |
commit | dc86e044761a132ddd7026f0f9555f958ba8046a (patch) | |
tree | fd1af22fda4afd5a364aff29013ac9af57b3bd92 /tests/float/float_array.py | |
parent | e7c0a8bca31063c295afdaf8e49c8ab24b70a90d (diff) | |
download | micropython-dc86e044761a132ddd7026f0f9555f958ba8046a.tar.gz micropython-dc86e044761a132ddd7026f0f9555f958ba8046a.zip |
tests: Make float and framebuf tests skip or run on big-endian archs.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/float/float_array.py')
-rw-r--r-- | tests/float/float_array.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/float_array.py b/tests/float/float_array.py index 3c2189869b..219b6b86ae 100644 --- a/tests/float/float_array.py +++ b/tests/float/float_array.py @@ -22,4 +22,4 @@ def test(a): test(array("f")) test(array("d")) -print("{:.4f}".format(array("f", b"\xcc\xcc\xcc=")[0])) +print("{:.4f}".format(array("f", bytes(array("I", [0x3DCCCCCC])))[0])) |