D4970: py3: use bytes literal in test-hgweb-json.t
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Oct 12 08:45:48 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa8be613391d1: py3: use bytes literal in test-hgweb-json.t (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4970?vs=11836&id=11853
REVISION DETAIL
https://phab.mercurial-scm.org/D4970
AFFECTED FILES
tests/test-hgweb-json.t
CHANGE DETAILS
diff --git a/tests/test-hgweb-json.t b/tests/test-hgweb-json.t
--- a/tests/test-hgweb-json.t
+++ b/tests/test-hgweb-json.t
@@ -2201,7 +2201,7 @@
Commit message with null character
$ echo foo >> da/foo
- >>> open('msg', 'wb').write('commit with null character: \0\n') and None
+ >>> open('msg', 'wb').write(b'commit with null character: \0\n') and None
$ hg ci -l msg
$ rm msg
To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list