diff --git a/dist/pythonlibs/riotctrl_shell/tests/common.py b/dist/pythonlibs/riotctrl_shell/tests/common.py index 06538533e6..348c90c5b1 100644 --- a/dist/pythonlibs/riotctrl_shell/tests/common.py +++ b/dist/pythonlibs/riotctrl_shell/tests/common.py @@ -15,6 +15,10 @@ class MockSpawn(): self.before = None self.echo = False + def read_nonblocking(self, size=1, timeout=-1): + # do nothing, only used to flush pexpect output + pass + def sendline(self, line, *args, **kwargs): self.last_command = line if self.ctrl.output is None: