D3321: py3: add b'' prefixes to tests/test-status-inprocess.py
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Fri Apr 13 18:22:21 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9dfa4e9ed45d: py3: add b'' prefixes to tests/test-status-inprocess.py (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3321?vs=8141&id=8195
REVISION DETAIL
https://phab.mercurial-scm.org/D3321
AFFECTED FILES
tests/test-status-inprocess.py
CHANGE DETAILS
diff --git a/tests/test-status-inprocess.py b/tests/test-status-inprocess.py
--- a/tests/test-status-inprocess.py
+++ b/tests/test-status-inprocess.py
@@ -10,17 +10,17 @@
u = uimod.ui.load()
print('% creating repo')
-repo = localrepo.localrepository(u, '.', create=True)
+repo = localrepo.localrepository(u, b'.', create=True)
f = open('test.py', 'w')
try:
f.write('foo\n')
finally:
f.close
print('% add and commit')
-commands.add(u, repo, 'test.py')
-commands.commit(u, repo, message='*')
+commands.add(u, repo, b'test.py')
+commands.commit(u, repo, message=b'*')
commands.status(u, repo, clean=True)
To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list