Patchwork D7945: py3: conditionalize test-flagprocessor.t on Python 3.8

login
register
mail settings
Submitter phabricator
Date Jan. 21, 2020, 1:03 p.m.
Message ID <d577c2b7b251f5bdf2016434d1494a52@localhost.localdomain>
Download mbox | patch
Permalink /patch/44538/
State Not Applicable
Headers show

Comments

phabricator - Jan. 21, 2020, 1:03 p.m.
Closed by commit rHGfeb3b4d1985a: py3: conditionalize test-flagprocessor.t on Python 3.8 (authored by indygreg).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7945?vs=19449&id=19468

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

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

AFFECTED FILES
  tests/test-flagprocessor.t

CHANGE DETAILS




To: indygreg, #hg-reviewers, pulkit
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
@@ -204,7 +204,8 @@ 
     File "*/mercurial/extensions.py", line *, in _runextsetup (glob)
       extsetup(ui)
     File "*/tests/flagprocessorext.py", line *, in extsetup (glob)
-      REVIDX_NOOP, (noopdonothingread, noopdonothing, validatehash,)
+      flagutil.addflagprocessor( (py38 !)
+      REVIDX_NOOP, (noopdonothingread, noopdonothing, validatehash,) (no-py38 !)
     File "*/mercurial/revlogutils/flagutil.py", line *, in addflagprocessor (glob)
       insertflagprocessor(flag, processor, flagprocessors)
     File "*/mercurial/revlogutils/flagutil.py", line *, in insertflagprocessor (glob)