From 858fe08d732f851028b24927daf3a306ce126083 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 30 Apr 2024 12:29:39 +0200 Subject: [PATCH] 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 --- tests/test_aio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_aio.py b/tests/test_aio.py index 7965fa3..18219fc 100644 --- a/tests/test_aio.py +++ b/tests/test_aio.py @@ -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. #