]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/vm: avoid invalid escape in Python string
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Oct 2023 06:22:56 +0000 (08:22 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 19 Oct 2023 11:52:59 +0000 (14:52 +0300)
commit791cbfeec2065c29755ba5d89fd6378a1530ec94
tree7ab045aa6df5c42ada1a8774565e5a1f82777ec8
parent6dbb538a7159edef132353e6855ad0b8a501fc87
tests/vm: avoid invalid escape in Python string

This is an error in Python 3.12; fix it by using a raw string literal
or by double-escaping the backslash.

Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 86a8989d4557a09b68f8b78b6c3fb6ad3f23ca6f)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/vm/basevm.py