def close(self):
        if self.buf:
            log.warning('Data still in mock server buffer at teardown: %r' % self.buf)
        self.sock.close()
dataset/ETHPy150Open uber/clay/tests/test_stats.py/MockTCPListener.close/original