D3925: tests: add missing b prefix in test-context.py

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Jul 11 17:56:26 UTC 2018


durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame just a b prefix

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-context.py

CHANGE DETAILS

diff --git a/tests/test-context.py b/tests/test-context.py
--- a/tests/test-context.py
+++ b/tests/test-context.py
@@ -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'')
 



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list