# HG changeset patch # User Gregory Szorc # Date 1539289672 -7200 # Node ID a8be613391d1ee7e093b91eb5b3079e7bc62cc8d # Parent 5716d48b2a5b534774ac7fb440c0ee0e901e9cb5 py3: use bytes literal in test-hgweb-json.t # skip-blame just b'' prefix Differential Revision: https://phab.mercurial-scm.org/D4970 diff -r 5716d48b2a5b -r a8be613391d1 tests/test-hgweb-json.t --- a/tests/test-hgweb-json.t Thu Oct 11 22:01:54 2018 +0200 +++ b/tests/test-hgweb-json.t Thu Oct 11 22:27:52 2018 +0200 @@ -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