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.
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors