diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-16 08:22:56 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-17 15:20:53 +0200 |
| commit | a5e3cb3b90a62a42cd19ad9a20ca25c7df1dc3da (patch) | |
| tree | cbcf42cb456ba0eedd40a0967763c8625a1c6ead /tests/docker/docker.py | |
| parent | 2845bab65a145b2bc447e156436ddf45a7e090e1 (diff) | |
| download | focaccia-qemu-a5e3cb3b90a62a42cd19ad9a20ca25c7df1dc3da.tar.gz focaccia-qemu-a5e3cb3b90a62a42cd19ad9a20ca25c7df1dc3da.zip | |
tests/docker: avoid invalid escape in Python string
This is an error in Python 3.12; fix it by using a raw string literal. Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/docker/docker.py')
| -rwxr-xr-x | tests/docker/docker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 688ef62989..3b8a26704d 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -186,7 +186,7 @@ def _check_binfmt_misc(executable): (binary)) return None, True - m = re.search("interpreter (\S+)\n", entry) + m = re.search(r"interpreter (\S+)\n", entry) interp = m.group(1) if interp and interp != executable: print("binfmt_misc for %s does not point to %s, using %s" % |