8000 tests/struct1: Test "l" specifier to improve coverage. · sparkfun/circuitpython@b85bcd6 · GitHub
[go: up one dir, main page]

Skip to content

Commit b85bcd6

Browse files
committed
tests/struct1: Test "l" specifier to improve coverage.
1 parent e60835b commit b85bcd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/basics/struct1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# 32-bit little-endian specific
1111
#print(struct.unpack("bI", b"\x80\xaa\x55\xaa\0\0\x01\0"))
1212

13+
print(struct.pack("<l", 1))
14+
print(struct.pack(">l", 1))
1315
print(struct.pack("<i", 1))
1416
print(struct.pack(">i", 1))
1517
print(struct.pack("<h", 1))

0 commit comments

Comments
 (0)
0