py2: drop some more from __future__ statements
These are no longer needed after dropping support for Python 2.
Differential Revision: https://phab.mercurial-scm.org/D12258
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors