diff tests/test-devel-warnings.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 c41cbe98822c
children bf1292c057ef
line wrap: on
line diff
--- a/tests/test-devel-warnings.t	Sun Jun 25 03:11:55 2017 +0530
+++ b/tests/test-devel-warnings.t	Sun Jun 25 08:20:05 2017 +0530
@@ -203,7 +203,7 @@
   > cmdtable = {}
   > command = registrar.command(cmdtable)
   > 
-  > @command('buggyconfig')
+  > @command(b'buggyconfig')
   > def cmdbuggyconfig(ui, repo):
   >     repo.ui.config('ui', 'quiet', False)
   >     repo.ui.config('ui', 'interactive', None)