##// END OF EJS Templates
py3: add some b'' to make test-lock-badness.t happy
Yuya Nishihara -
r36661:1e1c1bfb default
parent child Browse files
Show More
@@ -166,6 +166,7 test-issue842.t
166 test-journal-exists.t
166 test-journal-exists.t
167 test-largefiles-small-disk.t
167 test-largefiles-small-disk.t
168 test-locate.t
168 test-locate.t
169 test-lock-badness.t
169 test-logexchange.t
170 test-logexchange.t
170 test-lrucachedict.py
171 test-lrucachedict.py
171 test-mactext.t
172 test-mactext.t
@@ -22,8 +22,8 Test that raising an exception in the re
22 > def acquiretestlock(repo, releaseexc):
22 > def acquiretestlock(repo, releaseexc):
23 > def unlock():
23 > def unlock():
24 > if releaseexc:
24 > if releaseexc:
25 > raise error.Abort('expected release exception')
25 > raise error.Abort(b'expected release exception')
26 > l = repo._lock(repo.vfs, 'testlock', False, unlock, None, 'test lock')
26 > l = repo._lock(repo.vfs, b'testlock', False, unlock, None, b'test lock')
27 > return l
27 > return l
28 >
28 >
29 > @command(b'testlockexc')
29 > @command(b'testlockexc')
@@ -35,7 +35,7 Test that raising an exception in the re
35 > try:
35 > try:
36 > testlock = acquiretestlock(repo, False)
36 > testlock = acquiretestlock(repo, False)
37 > except error.LockHeld:
37 > except error.LockHeld:
38 > raise error.Abort('lockfile on disk even after releasing!')
38 > raise error.Abort(b'lockfile on disk even after releasing!')
39 > testlock.release()
39 > testlock.release()
40 > EOF
40 > EOF
41 $ cat >> $HGRCPATH << EOF
41 $ cat >> $HGRCPATH << EOF
General Comments 0
You need to be logged in to leave comments. Login now