# HG changeset patch # User Matt Harbison # Date 1574369195 18000 # Node ID 8ca92bcb3083944ba9ca3b26b4c8b3745c4f025c # Parent 882e633ac92cf73b2fcf9f6cf8d058d300d80908 tests: byteify a few more things in simplestorerepo.py Differential Revision: https://phab.mercurial-scm.org/D7471 diff -r 882e633ac92c -r 8ca92bcb3083 tests/simplestorerepo.py --- a/tests/simplestorerepo.py Thu Nov 21 15:39:03 2019 -0500 +++ b/tests/simplestorerepo.py Thu Nov 21 15:46:35 2019 -0500 @@ -48,9 +48,9 @@ # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should # be specifying the version(s) of Mercurial they are tested with, or # leave the attribute unspecified. -testedwith = 'ships-with-hg-core' +testedwith = b'ships-with-hg-core' -REQUIREMENT = 'testonly-simplestore' +REQUIREMENT = b'testonly-simplestore' def validatenode(node): @@ -204,7 +204,7 @@ if entry[b'node'] == node: return rev - raise error.ProgrammingError('this should not occur') + raise error.ProgrammingError(b'this should not occur') def node(self, rev): validaterev(rev)