circuitpython/tests/micropython/decorator.py
Damien George af43565322 tests: Add tests for things that are not already tested.
The aim here is to improve coverage of the code.
2015-03-12 22:48:45 +00:00

8 lines
105 B
Python

# test micropython-specific decorators
@micropython.bytecode
def f():
return 'bytecode'
print(f())