def ioh(ctx): handler = semihost.SemihostIOHandler() agent = semihost.SemihostAgent(ctx, io_handler=handler) return handler, agent
def test_unimplemented(self, op, args): handler = semihost.SemihostIOHandler() with pytest.raises(NotImplementedError): handler.__getattribute__(op)(*args)
def ioh(tgt): handler = semihost.SemihostIOHandler() agent = semihost.SemihostAgent(tgt, io_handler=handler) return handler, agent