verify: use some intermediate variables instead of a multi-liner
This is shorter and easier to read as the indentation remains the same.
Differential Revision: https://phab.mercurial-scm.org/D10822
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors