py3: add b'' prefixes to tests/test-status-inprocess.py
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 13 Apr 2018 18:41:56 +0530
changeset 37660 9dfa4e9ed45d
parent 37659 575f59cdd8a1
child 37661 afe624d78d43
py3: add b'' prefixes to tests/test-status-inprocess.py # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3321
tests/test-status-inprocess.py
--- a/tests/test-status-inprocess.py	Fri Apr 13 16:31:02 2018 +0530
+++ b/tests/test-status-inprocess.py	Fri Apr 13 18:41:56 2018 +0530
@@ -10,7 +10,7 @@
 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 @@
     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)