Skip to content
Snippets Groups Projects
Commit a3a9b93b authored by Gregory Szorc's avatar Gregory Szorc
Browse files

py3: byteify test-storage.py

The test now passed on Python 3.

# skip-blame just b'' prefixes

Differential Revision: https://phab.mercurial-scm.org/D4836
parent 75452c1e
Branches
Tags
No related merge requests found
......@@ -23,7 +23,7 @@
def makefilefn(self):
"""Factory for filelog instances."""
fl = filelog.filelog(STATE['vfs'], 'filelog-%d' % STATE['lastindex'])
fl = filelog.filelog(STATE['vfs'], b'filelog-%d' % STATE['lastindex'])
STATE['lastindex'] += 1
return fl
......@@ -31,7 +31,7 @@
vfsmap = {'plain': STATE['vfs']}
return transaction.transaction(STATE['ui'].warn, STATE['vfs'], vfsmap,
'journal', 'undo')
b'journal', b'undo')
# Assigning module-level attributes that inherit from unittest.TestCase
# is all that is needed to register tests.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment