diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -89,6 +89,7 @@ test-config.t test-conflict.t test-confused-revert.t +test-context-metadata.t test-context.py test-contrib-check-code.t test-contrib-check-commit.t diff --git a/tests/test-context-metadata.t b/tests/test-context-metadata.t --- a/tests/test-context-metadata.t +++ b/tests/test-context-metadata.t @@ -22,7 +22,7 @@ > with repo.wlock(), repo.lock(), repo.transaction(b'metaedit'): > old = repo[b'.'] > kwargs = dict(s.split(b'=', 1) for s in arg.split(b';')) - > if 'parents' in kwargs: + > if b'parents' in kwargs: > kwargs[b'parents'] = map(int, kwargs[b'parents'].split(b',')) > new = context.metadataonlyctx(repo, old, > **pycompat.strkwargs(kwargs))