On 06/01/2026 23.03, Yodel Eldar wrote:
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]>
---
  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 58f2740100..ff86c9d187 100644
--- a/tests/functional/qemu_test/testcase.py
+++ b/tests/functional/qemu_test/testcase.py
@@ -349,7 +349,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')

Ooops, good catch!

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to