D2509: py3: add b'' prefix in tests/test-revlog-v2.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Mar 1 09:36:06 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3003666bf9ad: py3: add b'' prefix in tests/test-revlog-v2.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2509?vs=6209&id=6242
REVISION DETAIL
https://phab.mercurial-scm.org/D2509
AFFECTED FILES
tests/test-revlog-v2.t
CHANGE DETAILS
diff --git a/tests/test-revlog-v2.t b/tests/test-revlog-v2.t
--- a/tests/test-revlog-v2.t
+++ b/tests/test-revlog-v2.t
@@ -29,7 +29,7 @@
Unknown flags to revlog are rejected
>>> with open('.hg/store/00changelog.i', 'wb') as fh:
- ... fh.write('\x00\x04\xde\xad')
+ ... fh.write(b'\x00\x04\xde\xad')
$ hg log
abort: unknown flags (0x04) in version 57005 revlog 00changelog.i!
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list