D5114: tests: use byte literals in test-storage.py

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Tue Oct 16 12:11:19 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9b2e1b00ee94: tests: use byte literals in test-storage.py (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5114?vs=12162&id=12168

REVISION DETAIL
  https://phab.mercurial-scm.org/D5114

AFFECTED FILES
  tests/test-storage.py

CHANGE DETAILS

diff --git a/tests/test-storage.py b/tests/test-storage.py
--- a/tests/test-storage.py
+++ b/tests/test-storage.py
@@ -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')



To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list