testparseutil: escape backslash in docstring
ClosedPublic

Authored by indygreg on Mon, Feb 4, 5:47 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
indygreg created this revision.Mon, Feb 4, 5:47 PM
This revision was automatically updated to reflect the committed changes.