'Initialise the fake sys module.
:param list argv: The arguments list which should be exposed as
``sys.argv``.'

def __init__(self, argv=None):

    if (argv is None):
        argv = []
    self.argv = argv
    self.stdout = io.BytesIO()
    self.stderr = io.BytesIO()
