diff tests/test-hgweb.t @ 50799:02eae2df911a

wrapfunction: use sysstr instead of bytes as argument in various tests This is as valid and simpler, it will help us to eventually get ride of `safehasattr`.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 10 Jul 2023 19:34:04 +0200
parents 7e5be4a7cda7
children
line wrap: on
line diff
--- a/tests/test-hgweb.t	Mon Jul 10 19:33:14 2023 +0200
+++ b/tests/test-hgweb.t	Mon Jul 10 19:34:04 2023 +0200
@@ -876,7 +876,7 @@
   >     except ValueError:
   >         raise error.Abort(b'signal.signal() called in thread?')
   > def uisetup(ui):
-  >    extensions.wrapfunction(signal, b'signal', disabledsig)
+  >    extensions.wrapfunction(signal, 'signal', disabledsig)
   > EOF
 
  by default, signal interrupt should be disabled while making a lock file