This is an archive of the discontinued Mercurial Phabricator instance.

tests: fix up some lax escaping in test-template-basic.t
ClosedPublic

Authored by durin42 on Jun 26 2018, 1:04 PM.

Details

Summary

These misfired escapes turn into hard errors in Python 3.7, and I'd
really rather we not work around it. We should *probably* try and find
a way to proactively warn users about invalid escape sequences.

There's one more failure of this type in this file on Python 3.7, but
I can't figure out the issue. It'll need to be corrected in a
follow-up.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Jun 26 2018, 1:04 PM
This revision was automatically updated to reflect the committed changes.