diff tests/test-lock-badness.t @ 33097:fce4ed2912bb

py3: make sure commands name are bytes in tests
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 25 Jun 2017 08:20:05 +0530
parents 46ba2cdda476
children 9153871d50e0
line wrap: on
line diff
--- a/tests/test-lock-badness.t	Sun Jun 25 03:11:55 2017 +0530
+++ b/tests/test-lock-badness.t	Sun Jun 25 08:20:05 2017 +0530
@@ -26,7 +26,7 @@
   >     l = repo._lock(repo.vfs, 'testlock', False, unlock, None, 'test lock')
   >     return l
   > 
-  > @command('testlockexc')
+  > @command(b'testlockexc')
   > def testlockexc(ui, repo):
   >     testlock = acquiretestlock(repo, True)
   >     try: