

def add_input(self, string_input):
    "Adds the specified string to the pending input that will be returned by calls to 'recv' on this\n        socket.\n\n        Testing code can use this to simulate bytes being received.\n\n        @param string_input: The input.\n        "
    original_position = original_position.__stream.tell()
    self.__stream.seek(0, 2)
    self.__stream.write(string_input)
    self.__stream.seek(original_position)

dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/monitor_utils/tests/server_processors_test.py FakeSocket.add_input/VarMisuse@16/107 `self`->`original_position`