##// END OF EJS Templates
py3: byteify test-storage.py...
Gregory Szorc -
r39989:a3a9b93b default
parent child Browse files
Show More
@@ -23,7 +23,7 b' STATE = {'
23
23
24 def makefilefn(self):
24 def makefilefn(self):
25 """Factory for filelog instances."""
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 STATE['lastindex'] += 1
27 STATE['lastindex'] += 1
28 return fl
28 return fl
29
29
@@ -31,7 +31,7 b' def maketransaction(self):'
31 vfsmap = {'plain': STATE['vfs']}
31 vfsmap = {'plain': STATE['vfs']}
32
32
33 return transaction.transaction(STATE['ui'].warn, STATE['vfs'], vfsmap,
33 return transaction.transaction(STATE['ui'].warn, STATE['vfs'], vfsmap,
34 'journal', 'undo')
34 b'journal', b'undo')
35
35
36 # Assigning module-level attributes that inherit from unittest.TestCase
36 # Assigning module-level attributes that inherit from unittest.TestCase
37 # is all that is needed to register tests.
37 # is all that is needed to register tests.
General Comments 0
You need to be logged in to leave comments. Login now