diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist --- a/contrib/python3-whitelist +++ b/contrib/python3-whitelist @@ -452,6 +452,7 @@ test-template-engine.t test-treemanifest.t test-ui-color.py +test-ui-verbosity.py test-unamend.t test-uncommit.t test-unified-test.t diff --git a/tests/test-ui-verbosity.py b/tests/test-ui-verbosity.py --- a/tests/test-ui-verbosity.py +++ b/tests/test-ui-verbosity.py @@ -38,9 +38,9 @@ u = uimod.ui.load() if cmd_quiet or cmd_debug or cmd_verbose: - u.setconfig('ui', 'quiet', str(bool(cmd_quiet))) - u.setconfig('ui', 'verbose', str(bool(cmd_verbose))) - u.setconfig('ui', 'debug', str(bool(cmd_debug))) + u.setconfig(b'ui', b'quiet', pycompat.bytestr(bool(cmd_quiet))) + u.setconfig(b'ui', b'verbose', pycompat.bytestr(bool(cmd_verbose))) + u.setconfig(b'ui', b'debug', pycompat.bytestr(bool(cmd_debug))) check = '' if u.debugflag: