From b41cbe9256d3f7105a70ad3d2e4fb64180f81e09 Mon Sep 17 00:00:00 2001 From: Michael McWethy Date: Wed, 18 Oct 2017 12:50:20 -0700 Subject: CircuitPython now has struct instead of ustruct (#302) Added struct module to shared-bindings and shared-module. removed ustruct --- tests/misc/non_compliant.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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: -- cgit v1.2.3