diff options
| author | Damien George | 2015-03-12 22:47:44 +0000 |
|---|---|---|
| committer | Damien George | 2015-03-12 22:48:45 +0000 |
| commit | af43565322f5c45a1a92df1afceff24c93021998 (patch) | |
| tree | 0334982a350b9201b8e0b256dc7c04dff8b3ea77 /tests/micropython | |
| parent | 848dd0e7620b086f984fc6254afc8202d5448a77 (diff) | |
tests: Add tests for things that are not already tested.
The aim here is to improve coverage of the code.
Diffstat (limited to 'tests/micropython')
| -rw-r--r-- | tests/micropython/decorator.py | 7 | ||||
| -rw-r--r-- | tests/micropython/decorator.py.exp | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/micropython/decorator.py b/tests/micropython/decorator.py new file mode 100644 index 000000000..bf688968a --- /dev/null +++ b/tests/micropython/decorator.py @@ -0,0 +1,7 @@ +# test micropython-specific decorators + +@micropython.bytecode +def f(): + return 'bytecode' + +print(f()) diff --git a/tests/micropython/decorator.py.exp b/tests/micropython/decorator.py.exp new file mode 100644 index 000000000..b37707e7c --- /dev/null +++ b/tests/micropython/decorator.py.exp @@ -0,0 +1 @@ +bytecode |
