2017-03-08 18:07:19 -05:00
|
|
|
try:
|
2023-08-22 11:15:46 -04:00
|
|
|
import array
|
2017-03-08 18:07:19 -05:00
|
|
|
except ImportError:
|
2023-08-22 11:15:46 -04:00
|
|
|
print("SKIP")
|
|
|
|
raise SystemExit
|
2017-03-08 18:07:19 -05:00
|
|
|
|
|
|
|
print(array.array('b', [1, 2]) in b'\x01\x02\x03')
|
|
|
|
# CPython gives False here
|
|
|
|
#print(b"\x01\x02\x03" == array.array("B", [1, 2, 3]))
|