diff options
| author | Damien George <damien@micropython.org> | 2021-06-18 14:16:07 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-06-18 14:16:07 +1000 |
| commit | adf35cbab096a4a207ad3eca5323b0e164e7171d (patch) | |
| tree | b0d0f74308797c61083e21361834098655f07f97 /tests/float/bytearray_construct_endian.py | |
| parent | bc89cdeb45b66961b56e2354f2a0be9ef611ad7b (diff) | |
tests/float: Make bytes/bytearray construct tests work with obj repr C.
2.5 can be represented correctly in object representation C, but 2.3 cannot
(it is slightly truncated).
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/float/bytearray_construct_endian.py')
| -rw-r--r-- | tests/float/bytearray_construct_endian.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/bytearray_construct_endian.py b/tests/float/bytearray_construct_endian.py index 257d37d1b..47f2b793c 100644 --- a/tests/float/bytearray_construct_endian.py +++ b/tests/float/bytearray_construct_endian.py @@ -9,4 +9,4 @@ except ImportError: print("SKIP") raise SystemExit -print(bytearray(array("f", [1, 2.3]))) +print(bytearray(array("f", [1, 2.5]))) |
