mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2024-10-26 07:55:06 +03:00
test_aio.py: Fix skip message
There are two unit tests in test_aio.py that are skipped if Python is too new (3.10 or newer). But the message printed when they are skipped mentions just 3.10 which is confusing. Change it to "3.10+". Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
39b7773d32
commit
858fe08d73
@ -118,7 +118,7 @@ class TestLibvirtAio(unittest.TestCase):
|
||||
|
||||
@mock.patch('libvirt.virEventRegisterImpl',
|
||||
side_effect=eventmock.virEventRegisterImplMock)
|
||||
@unittest.skipIf(sys.version_info >= (3,10), "test incompatible with 3.10")
|
||||
@unittest.skipIf(sys.version_info >= (3,10), "test incompatible with 3.10+")
|
||||
def testEventsPreInitImplicit(self, mock_event_register):
|
||||
# Register libvirt events before starting the asyncio loop.
|
||||
#
|
||||
@ -136,7 +136,7 @@ class TestLibvirtAio(unittest.TestCase):
|
||||
|
||||
@mock.patch('libvirt.virEventRegisterImpl',
|
||||
side_effect=eventmock.virEventRegisterImplMock)
|
||||
@unittest.skipIf(sys.version_info >= (3,10), "test incompatible with 3.10")
|
||||
@unittest.skipIf(sys.version_info >= (3,10), "test incompatible with 3.10+")
|
||||
def testEventsImplicitLoopInit(self, mock_event_register):
|
||||
# Register libvirt events before starting the asyncio loop.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user