def METHOD_NAME(self):
    # tests that the server closes the client sock on handle() exception
    def crasher(sock, addr):
        sock.recv(1024)
        0 // 0
    l = eventlet.listen(('localhost', 0))
    gt = eventlet.spawn(eventlet.serve, l, crasher)
    client = eventlet.connect(('localhost', l.getsockname()[1]))
    client.sendall(b'a')
    self.assertRaises(ZeroDivisionError, gt.wait)
    self.assertFalse(client.recv(100))