Mercurial > public > mercurial-scm > hg
comparison tests/test-context.py @ 38658:a75896bf5ccb
tests: add missing b prefix in test-context.py
# skip-blame just a b prefix
Differential Revision: https://phab.mercurial-scm.org/D3925
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 11 Jul 2018 12:36:37 -0400 |
parents | 1c93e0237a24 |
children | 0bd56c291359 |
comparison
equal
deleted
inserted
replaced
38657:28c9d67d88ab | 38658:a75896bf5ccb |
---|---|
75 getfilectx, ctxa.user(), ctxa.date()) | 75 getfilectx, ctxa.user(), ctxa.date()) |
76 | 76 |
77 print(ctxb.status(ctxa)) | 77 print(ctxb.status(ctxa)) |
78 | 78 |
79 # test performing a diff on a memctx | 79 # test performing a diff on a memctx |
80 diffopts = diffutil.diffallopts(repo.ui, {'git': True}) | 80 diffopts = diffutil.diffallopts(repo.ui, {b'git': True}) |
81 for d in ctxb.diff(ctxa, opts=diffopts): | 81 for d in ctxb.diff(ctxa, opts=diffopts): |
82 printb(d, end=b'') | 82 printb(d, end=b'') |
83 | 83 |
84 # test safeness and correctness of "ctx.status()" | 84 # test safeness and correctness of "ctx.status()" |
85 print('= checking context.status():') | 85 print('= checking context.status():') |