Show More
@@ -23,7 +23,7 b' STATE = {' | |||
|
23 | 23 | |
|
24 | 24 | def makefilefn(self): |
|
25 | 25 | """Factory for filelog instances.""" |
|
26 | fl = filelog.filelog(STATE['vfs'], 'filelog-%d' % STATE['lastindex']) | |
|
26 | fl = filelog.filelog(STATE['vfs'], b'filelog-%d' % STATE['lastindex']) | |
|
27 | 27 | STATE['lastindex'] += 1 |
|
28 | 28 | return fl |
|
29 | 29 | |
@@ -31,7 +31,7 b' def maketransaction(self):' | |||
|
31 | 31 | vfsmap = {'plain': STATE['vfs']} |
|
32 | 32 | |
|
33 | 33 | return transaction.transaction(STATE['ui'].warn, STATE['vfs'], vfsmap, |
|
34 | 'journal', 'undo') | |
|
34 | b'journal', b'undo') | |
|
35 | 35 | |
|
36 | 36 | # Assigning module-level attributes that inherit from unittest.TestCase |
|
37 | 37 | # is all that is needed to register tests. |
General Comments 0
You need to be logged in to leave comments.
Login now