diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/misc/non_compliant.py | 6 |
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: |
