summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/machine_pinbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/machine_pinbase.py')
-rw-r--r--tests/extmod/machine_pinbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/extmod/machine_pinbase.py b/tests/extmod/machine_pinbase.py
index 45aa4d8b5b..8bddd4bb70 100644
--- a/tests/extmod/machine_pinbase.py
+++ b/tests/extmod/machine_pinbase.py
@@ -10,7 +10,6 @@ except:
class MyPin(machine.PinBase):
-
def __init__(self):
print("__init__")
self.v = False
@@ -21,6 +20,7 @@ class MyPin(machine.PinBase):
self.v = not self.v
return int(self.v)
+
p = MyPin()
print(p.value())