# HG changeset patch # User Gregory Szorc # Date 1539704908 -7200 # Node ID 9b2e1b00ee94672a112c6488ff4470fb71ed5b72 # Parent eb131464c805f4b303564e709981277b5ccb8517 tests: use byte literals in test-storage.py This fixes a Python 3 breakage due to unknown key due to str/bytes type mismatch. # skip-blame just b'' literals Differential Revision: https://phab.mercurial-scm.org/D5114 diff -r eb131464c805 -r 9b2e1b00ee94 tests/test-storage.py --- a/tests/test-storage.py Tue Oct 16 07:19:38 2018 +0200 +++ b/tests/test-storage.py Tue Oct 16 17:48:28 2018 +0200 @@ -30,7 +30,7 @@ return fl def maketransaction(self): - vfsmap = {'plain': STATE['vfs'], 'store': STATE['vfs']} + vfsmap = {b'plain': STATE['vfs'], b'store': STATE['vfs']} return transaction.transaction(STATE['ui'].warn, STATE['vfs'], vfsmap, b'journal', b'undo')