diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-04 12:40:51 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-04 12:40:51 +0100 |
commit | cda363a036f550707ed48d94e1be3ad54dda90b6 (patch) | |
tree | 1719b19ce5a3a1fa191ad1ecfe8a49082f05ad5f /tests/pyb/switch.py | |
parent | c327c0de5d7a07cc0afa2fbad5aa33f59d90aad0 (diff) | |
download | micropython-cda363a036f550707ed48d94e1be3ad54dda90b6.tar.gz micropython-cda363a036f550707ed48d94e1be3ad54dda90b6.zip |
tests, pyb: Add 'import pyb' when needed.
Diffstat (limited to 'tests/pyb/switch.py')
-rw-r--r-- | tests/pyb/switch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pyb/switch.py b/tests/pyb/switch.py index 4b74e0fd73..7c44adb136 100644 --- a/tests/pyb/switch.py +++ b/tests/pyb/switch.py @@ -1,6 +1,6 @@ from pyb import Switch -sw = pyb.Switch() +sw = Switch() print(sw()) sw.callback(print) sw.callback(None) |