summary refs log tree commit diff stats
path: root/scripts/simplebench/bench-example.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-01-11 14:20:42 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-01-11 14:20:42 +0000
commit7bb1272f40bdbdebcaec1737c412dcb52e414842 (patch)
treef45c186da68f21b3350e3ef2ae1c6ff70f7ed32c /scripts/simplebench/bench-example.py
parent64c01c7da449bcafc614b27ecf1325bb08031c84 (diff)
parent9ebfc5a583d8aa94bf1bc37c1f71559187fd809c (diff)
downloadfocaccia-qemu-7bb1272f40bdbdebcaec1737c412dcb52e414842.tar.gz
focaccia-qemu-7bb1272f40bdbdebcaec1737c412dcb52e414842.zip
Merge remote-tracking branch 'remotes/jsnow-gitlab/tags/python-pull-request' into staging
Python pull request

Fixes for the tests that broke during vacation, plus a simple syntax fix
for a python script.

# gpg: Signature made Mon 10 Jan 2022 23:24:47 GMT
# gpg:                using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E
# gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>" [full]
# Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
#      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E

* remotes/jsnow-gitlab/tags/python-pull-request:
  simplebench: Fix Python syntax error (reported by LGTM)
  python: update type hints for mypy 0.930
  Python/aqmp: fix type definitions for mypy 0.920
  python/aqmp: use absolute import statement

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/simplebench/bench-example.py')
-rw-r--r--scripts/simplebench/bench-example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/simplebench/bench-example.py b/scripts/simplebench/bench-example.py
index 4864435f39..fc370691e0 100644
--- a/scripts/simplebench/bench-example.py
+++ b/scripts/simplebench/bench-example.py
@@ -25,7 +25,7 @@ from bench_block_job import bench_block_copy, drv_file, drv_nbd
 
 def bench_func(env, case):
     """ Handle one "cell" of benchmarking table. """
-    return bench_block_copy(env['qemu_binary'], env['cmd'], {}
+    return bench_block_copy(env['qemu_binary'], env['cmd'], {},
                             case['source'], case['target'])