Hi,
Is it possible to simulate user input in a doctest docstring? For example, I
want to test if this module writes "Andy" when the user writes "Andy". What
would be the docstring?
def askyourname():
print "What's your name?",
myname = raw_input()
print myname
Best regards,
Barto