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

login
register
mail settings
Submitter phabricator
Date Nov. 22, 2019, 2:51 a.m.
Message ID <e17714793012b758d1ddf6b1fbd2335c@localhost.localdomain>
Download mbox | patch
Permalink /patch/43403/
State Not Applicable
Headers show

Comments

phabricator - Nov. 22, 2019, 2:51 a.m.
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




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

Patch

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)