diff options
| author | Laurens Valk <laurens@pybricks.com> | 2022-11-29 12:31:09 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2022-12-06 13:34:17 +1100 |
| commit | 632d43ed44afec4c3dd16429077fe6505bf2733d (patch) | |
| tree | e7a719bf0c8bd9fadf31d7108a95a511c7a4b7e2 /tests/basics/nanbox_smallint.py | |
| parent | f724d90e6c0c6dadf0a746ba1413517d6ce497db (diff) | |
py/mpconfig: Include micropython module in core features.
This excludes it from the minimal builds.
Signed-off-by: Laurens Valk <laurens@pybricks.com>
Diffstat (limited to 'tests/basics/nanbox_smallint.py')
| -rw-r--r-- | tests/basics/nanbox_smallint.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/basics/nanbox_smallint.py b/tests/basics/nanbox_smallint.py index 167b19601..b3a502e44 100644 --- a/tests/basics/nanbox_smallint.py +++ b/tests/basics/nanbox_smallint.py @@ -1,6 +1,10 @@ # Test creating small integers without heap allocation in nan-boxing mode. -import micropython +try: + import micropython +except ImportError: + print("SKIP") + raise SystemExit try: # Test for nan-box build by allocating a float while heap is locked. |
