diff -r 28c9d67d88ab -r a75896bf5ccb tests/test-context.py --- a/tests/test-context.py Wed Jul 11 11:43:22 2018 -0400 +++ b/tests/test-context.py Wed Jul 11 12:36:37 2018 -0400 @@ -77,7 +77,7 @@ print(ctxb.status(ctxa)) # test performing a diff on a memctx -diffopts = diffutil.diffallopts(repo.ui, {'git': True}) +diffopts = diffutil.diffallopts(repo.ui, {b'git': True}) for d in ctxb.diff(ctxa, opts=diffopts): printb(d, end=b'')