Example #1
0
 def side_effect(*args, **kwargs):
     raise OSError(errno.ESRCH, "process is dead already...")
Example #2
0
 def side_effect(x, y):
     raise OSError(errno.EPERM, "Access denied")