# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-04-13 13:11:56 # Node ID 9dfa4e9ed45db85fac98cda2cbb202c40aac1080 # Parent 575f59cdd8a1d23bae3f787c7bbe9a5e59db8a52 py3: add b'' prefixes to tests/test-status-inprocess.py # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3321 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,7 +10,7 @@ from mercurial import ( 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: @@ -19,8 +19,8 @@ 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)