D7471: tests: byteify a few more things in simplestorerepo.py

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Thu Nov 21 21:51:17 EST 2019


Closed by commit rHG8ca92bcb3083: tests: byteify a few more things in simplestorerepo.py (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7471?vs=18269&id=18275

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7471/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7471

AFFECTED FILES
  tests/simplestorerepo.py

CHANGE DETAILS

diff --git a/tests/simplestorerepo.py b/tests/simplestorerepo.py
--- a/tests/simplestorerepo.py
+++ b/tests/simplestorerepo.py
@@ -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)



To: mharbison72, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list