tests/struct1: Test "l" specifier to improve coverage.
This commit is contained in:
parent
e60835bac5
commit
b85bcd671c
@ -10,6 +10,8 @@ print(struct.unpack(">bI", b"\x80\0\0\x01\0"))
|
||||
# 32-bit little-endian specific
|
||||
#print(struct.unpack("bI", b"\x80\xaa\x55\xaa\0\0\x01\0"))
|
||||
|
||||
print(struct.pack("<l", 1))
|
||||
print(struct.pack(">l", 1))
|
||||
print(struct.pack("<i", 1))
|
||||
print(struct.pack(">i", 1))
|
||||
print(struct.pack("<h", 1))
|
||||
|
Loading…
Reference in New Issue
Block a user