circuitpython/tests/micropython/native_check.py
Damien George 5a04e2cca8 tests: Add check for micropython.native and then skip relevant tests.
If micropython.native decorator doesn't compile, then we skill all
native/viper tests.

This patch also re-enables the ujson_loads test on NT.

Addresses issue #861, and partially addresses issue #856.
2014-10-05 22:27:12 +01:00

5 lines
89 B
Python

# this test for the availability of native emitter
@micropython.native
def f():
pass