Skip to content

Commit 123b8cc

Browse files
committed
asyncio_micro: Move handle() method to SysCall base class.
1 parent 6d8cfcd commit 123b8cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎asyncio_micro/asyncio_micro.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,11 @@ def __init__(self, call, *args):
150150
self.call = call
151151
self.args = args
152152

153-
class Sleep(SysCall):
154-
155153
def handle(self):
156-
time.sleep(self.args[0])
154+
raise NotImplementedError
155+
156+
class Sleep(SysCall):
157+
pass
157158

158159
class IORead(SysCall):
159160

0 commit comments

Comments
 (0)