Patchwork D5806: py3: add Python 3 output for test-flagprocessor.t

login
register
mail settings
Submitter phabricator
Date Feb. 3, 2019, 2:42 a.m.
Message ID <d218a1c94210478d5787de46fe0f38b7@localhost.localdomain>
Download mbox | patch
Permalink /patch/38336/
State Not Applicable
Headers show

Comments

phabricator - Feb. 3, 2019, 2:42 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa4392b5c69ce: py3: add Python 3 output for test-flagprocessor.t (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5806?vs=13706&id=13709

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

AFFECTED FILES
  tests/test-flagprocessor.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-flagprocessor.t b/tests/test-flagprocessor.t
--- a/tests/test-flagprocessor.t
+++ b/tests/test-flagprocessor.t
@@ -209,11 +209,13 @@ 
       _insertflagprocessor(flag, processor, _flagprocessors)
     File "*/mercurial/revlog.py", line *, in _insertflagprocessor (glob)
       raise error.Abort(msg)
-  Abort: cannot register multiple processors on flag '0x8'.
+  mercurial.error.Abort: b"cannot register multiple processors on flag '0x8'." (py3 !)
+  Abort: cannot register multiple processors on flag '0x8'. (no-py3 !)
   *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'.
   $ hg st 2>&1 | egrep 'cannot register multiple processors|flagprocessorext'
     File "*/tests/flagprocessorext.py", line *, in extsetup (glob)
-  Abort: cannot register multiple processors on flag '0x8'.
+  mercurial.error.Abort: b"cannot register multiple processors on flag '0x8'." (py3 !)
+  Abort: cannot register multiple processors on flag '0x8'. (no-py3 !)
   *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'.
     File "*/tests/flagprocessorext.py", line *, in b64decode (glob)