tests/test-context-metadata.t
changeset 37851 8327fd79adf8
parent 36048 194463554ba5
child 40303 b8db53f786f0
--- a/tests/test-context-metadata.t	Sat May 05 11:42:42 2018 +0900
+++ b/tests/test-context-metadata.t	Sat Apr 28 23:54:07 2018 -0700
@@ -23,7 +23,7 @@
   >         old = repo[b'.']
   >         kwargs = dict(s.split(b'=', 1) for s in arg.split(b';'))
   >         if 'parents' in kwargs:
-  >             kwargs[b'parents'] = kwargs[b'parents'].split(b',')
+  >             kwargs[b'parents'] = map(int, kwargs[b'parents'].split(b','))
   >         new = context.metadataonlyctx(repo, old,
   >                                       **pycompat.strkwargs(kwargs))
   >         new.commit()