comparison tests/test-ssh.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 c5e93c915ab6
children dcaa2df1f688
comparison
equal deleted inserted replaced
50798:d9e22b39041a 50799:02eae2df911a
477 > repo.ui.write(b'local stdout\n') 477 > repo.ui.write(b'local stdout\n')
478 > repo.ui.flush() 478 > repo.ui.flush()
479 > return res 479 > return res
480 > 480 >
481 > def extsetup(ui): 481 > def extsetup(ui):
482 > extensions.wrapfunction(exchange, b'push', wrappedpush) 482 > extensions.wrapfunction(exchange, 'push', wrappedpush)
483 > EOF 483 > EOF
484 484
485 $ cat >> .hg/hgrc << EOF 485 $ cat >> .hg/hgrc << EOF
486 > [paths] 486 > [paths]
487 > default-push = ssh://user@dummy/remote 487 > default-push = ssh://user@dummy/remote