how can i simulate input to stdin for pyunit?,return int(input('prompt> '))