Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
33096:d9962854a4a2 | 33097:fce4ed2912bb |
---|---|
201 > from mercurial import registrar | 201 > from mercurial import registrar |
202 > | 202 > |
203 > cmdtable = {} | 203 > cmdtable = {} |
204 > command = registrar.command(cmdtable) | 204 > command = registrar.command(cmdtable) |
205 > | 205 > |
206 > @command('buggyconfig') | 206 > @command(b'buggyconfig') |
207 > def cmdbuggyconfig(ui, repo): | 207 > def cmdbuggyconfig(ui, repo): |
208 > repo.ui.config('ui', 'quiet', False) | 208 > repo.ui.config('ui', 'quiet', False) |
209 > repo.ui.config('ui', 'interactive', None) | 209 > repo.ui.config('ui', 'interactive', None) |
210 > EOF | 210 > EOF |
211 | 211 |