Mercurial > hg
diff tests/simplestorerepo.py @ 43733:8ca92bcb3083
tests: byteify a few more things in simplestorerepo.py
Differential Revision: https://phab.mercurial-scm.org/D7471
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 21 Nov 2019 15:46:35 -0500 |
parents | 2372284d9457 |
children | 9d2b2df2c2ba |
line wrap: on
line diff
--- 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)