diff options
| author | Jeff Epler <jepler@unpythonic.net> | 2018-03-26 18:13:49 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@unpythonic.net> | 2018-03-26 18:13:49 -0500 |
| commit | 355bf8b5538b4fe2f9f07b0d8fb2f4500c2f96c6 (patch) | |
| tree | e14a249dee6038a3873715797aee82e92e9b3bec /tests/basics/struct_micropython.py | |
| parent | fa884466793738338edb7389dc6b21f160bba37b (diff) | |
Conditionally compile out nonstandard array/struct typecodes
.. defaulting to off for circuitpython-supported boards, on for others.
.. fixing up the tests that fail when it is turned off, so that they skip
instead of failing
Diffstat (limited to 'tests/basics/struct_micropython.py')
| -rw-r--r-- | tests/basics/struct_micropython.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/struct_micropython.py b/tests/basics/struct_micropython.py index f203a4666..e72153071 100644 --- a/tests/basics/struct_micropython.py +++ b/tests/basics/struct_micropython.py @@ -9,6 +9,12 @@ except: print("SKIP") raise SystemExit +try: + struct.pack('O', None) +except ValueError: + print("SKIP") + raise SystemExit + class A(): pass |
