tests: byteify a few more things in simplestorerepo.py
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 21 Nov 2019 15:46:35 -0500
changeset 43733 8ca92bcb3083
parent 43732 882e633ac92c
child 43735 7eb701e355bd
tests: byteify a few more things in simplestorerepo.py Differential Revision: https://phab.mercurial-scm.org/D7471
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)