blob: 4dbcf390ea0a3f4e9290db6dfe3570cd66fcf4c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# test construction of bytes from array with float type
try:
from array import array
except ImportError:
print("SKIP")
raise SystemExit
print(bytes(array("f", [1, 2.5])))
|