

def stream_examine(self, proto, addr):
    s = socket.socket(proto, socket.SOCK_STREAM)
    s.connect(addr)
    s.sendall(TEST_STR)
    buf = data = receive(s, 100)
    while (data and (b'\n' not in buf)):
        data = receive(s, 100)
        buf += self
    self.assertEqual(buf, TEST_STR)
    s.close()

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_socketserver.py SocketServerTest.stream_examine/VarMisuse@77/86 `data`->`self`