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