]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: Change imports for Python 3.13
authorJohn Snow <jsnow@redhat.com>
Wed, 26 Jun 2024 23:22:29 +0000 (19:22 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 12 Jul 2024 20:36:20 +0000 (16:36 -0400)
commite38900450fa900828cd7d5bc84c3a6a8af693696
treee123921581d624b0851dc0f6f709abb622433f49
parentc5be244534f918adf5aea0ced9cf13344be3e62b
iotests: Change imports for Python 3.13

Python 3.13 isn't out yet, but it's in beta and Fedora is ramping up to
make it the default system interpreter for Fedora 41.

They moved our cheese for where ContextManager lives; add a conditional
to locate it while we support both pre-3.9 and 3.13+.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20240626232230.408004-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
tests/qemu-iotests/testenv.py
tests/qemu-iotests/testrunner.py