Fix non_compliant test

This commit is contained in:
Scott Shawcroft 2023-10-23 15:08:41 -07:00
parent 508b064ebb
commit 24b51a21fd
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
2 changed files with 4 additions and 3 deletions

View File

@ -105,11 +105,12 @@ try:
except NotImplementedError:
print("NotImplementedError")
# CIRCUITPY-CHANGE: We do check these.
# struct pack with too many args, not checked by uPy
print(struct.pack("bb", 1, 2, 3))
# print(struct.pack("bb", 1, 2, 3))
# struct pack with too few args, not checked by uPy
print(struct.pack("bb", 1))
# print(struct.pack("bb", 1))
# array slice assignment with unsupported RHS
try:

View File

@ -5,7 +5,7 @@ NotImplementedError
NotImplementedError
TypeError, ValueError
NotImplementedError
TypeError
NotImplementedError
NotImplementedError
NotImplementedError
NotImplementedError