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