summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael McWethy <mrmcwethy@yahoo.com>2017-10-18 12:50:20 -0700
committerScott Shawcroft <scott@tannewt.org>2017-10-18 12:50:20 -0700
commitb41cbe9256d3f7105a70ad3d2e4fb64180f81e09 (patch)
treea118e4e7273ad6d23e49ef9ea6ddac229b705860 /tests
parent88c6d2349b0a36621a3a1f50bf4726a10994230c (diff)
CircuitPython now has struct instead of ustruct (#302)
Added struct module to shared-bindings and shared-module. removed ustruct
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/non_compliant.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/non_compliant.py b/tests/misc/non_compliant.py
index b4c90e9fc..e1ea66e69 100644
--- a/tests/misc/non_compliant.py
+++ b/tests/misc/non_compliant.py
@@ -2,7 +2,7 @@
try:
import array
- import ustruct
+ import struct
except ImportError:
print("SKIP")
raise SystemExit
@@ -118,10 +118,10 @@ except NotImplementedError:
print('NotImplementedError')
# struct pack with too many args, not checked by uPy
-print(ustruct.pack('bb', 1, 2, 3))
+print(struct.pack('bb', 1, 2, 3))
# struct pack with too few args, not checked by uPy
-print(ustruct.pack('bb', 1))
+print(struct.pack('bb', 1))
# array slice assignment with unsupported RHS
try: