summaryrefslogtreecommitdiff
path: root/tests/float/float_array.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/float_array.py')
-rw-r--r--tests/float/float_array.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/float/float_array.py b/tests/float/float_array.py
index 3c2189869..219b6b86a 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]))