testparseutil: escape backslash in docstring

Authored by indygreg.

Description

testparseutil: escape backslash in docstring

This is funky. This inline Python code is part of a docstring, which
means the string is interpreted first. So any backslashes need double
escaping. So even though this is already a br'', we still need to escape.

Differential Revision: https://phab.mercurial-scm.org/D5842

Details

Committed
indygregFeb 4 2019, 5:16 PM
Differential Revision
D5842: testparseutil: escape backslash in docstring
Parents
rHG033a0f4b4a5f: tests: use raw strings in test-help.t
Branches
Unknown
Tags
Unknown