D5109: tests: add missing b prefix in test-context-metadata.t
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Oct 15 11:22:14 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb8db53f786f0: tests: add missing b prefix in test-context-metadata.t (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5109?vs=12141&id=12152
REVISION DETAIL
https://phab.mercurial-scm.org/D5109
AFFECTED FILES
contrib/python3-whitelist
tests/test-context-metadata.t
CHANGE DETAILS
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))
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
To: durin42, pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list