From: Yodel Eldar <[email protected]> A debug string incorrectly mixes single-quotes with double-quotes, causing the variable within to be treated as a literal. Fix it.
Signed-off-by: Yodel Eldar <[email protected]> Message-ID: <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Signed-off-by: Thomas Huth <[email protected]> --- tests/functional/qemu_test/testcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/qemu_test/testcase.py b/tests/functional/qemu_test/testcase.py index fa100d96320..c2c916f6077 100644 --- a/tests/functional/qemu_test/testcase.py +++ b/tests/functional/qemu_test/testcase.py @@ -348,7 +348,7 @@ def require_netdev(self, netdevname): helptxt = run([self.qemu_bin, '-M', 'none', '-netdev', 'help'], capture_output=True, check=True, encoding='utf8').stdout if helptxt.find('\n' + netdevname + '\n') < 0: - self.skipTest('no support for " + netdevname + " networking') + self.skipTest('no support for ' + netdevname + ' networking') def require_device(self, devicename): helptxt = run([self.qemu_bin, '-M', 'none', '-device', 'help'], -- 2.52.0
