Submitter | phabricator |
---|---|
Date | June 18, 2018, 10:23 a.m. |
Message ID | <differential-rev-PHID-DREV-agh2iswipecbgy67c4lz-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/32250/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/tests/test-impexp-branch.t b/tests/test-impexp-branch.t --- a/tests/test-impexp-branch.t +++ b/tests/test-impexp-branch.t @@ -75,8 +75,8 @@ 1 files updated, 0 files merged, 0 files removed, 0 files unresolved >>> import re >>> p = open('../r1.patch', 'rb').read() - >>> p = re.sub(r'Parent\s+', 'Parent ', p) - >>> open('../r1-ws.patch', 'wb').write(p) + >>> p = re.sub(br'Parent\s+', b'Parent ', p) + >>> open('../r1-ws.patch', 'wb').write(p) and None $ hg import --exact ../r1-ws.patch applying ../r1-ws.patch