# HG changeset patch # User Gregory Szorc # Date 1492047740 25200 # Node ID bc0579a25f82702a79c81e5ad50c4b5980a27f71 # Parent ac55270210974ebb9b1cea9b9d0448f96ba5631c pycompat: import correct cookie module on Python 3 http.cookielib doesn't exist. http.cookiejar does and it contains the symbols we need. This fixes test failures on Python 3. diff -r ac5527021097 -r bc0579a25f82 mercurial/pycompat.py --- a/mercurial/pycompat.py Wed Apr 12 16:50:23 2017 -0700 +++ b/mercurial/pycompat.py Wed Apr 12 18:42:20 2017 -0700 @@ -25,7 +25,7 @@ import SocketServer as socketserver import xmlrpclib else: - import http.cookielib as cookielib + import http.cookiejar as cookielib import http.client as httplib import pickle import queue as _queue