changeset 37660:9dfa4e9ed45d

py3: add b'' prefixes to tests/test-status-inprocess.py # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D3321
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 13 Apr 2018 18:41:56 +0530
parents 575f59cdd8a1
children afe624d78d43
files tests/test-status-inprocess.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)