diff --git a/tests/conftest.py b/tests/conftest.py index a712b096..9c09434d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -30,7 +30,7 @@ from pottery import PotteryWarning -if sys.version_info < (3, 14): +if sys.version_info < (3, 14): # pragma: no cover @pytest.fixture(scope='session', autouse=True) def install_uvloop() -> None: uvloop.install() diff --git a/tests/test_aioredlock.py b/tests/test_aioredlock.py index fba7f223..6562e9c9 100644 --- a/tests/test_aioredlock.py +++ b/tests/test_aioredlock.py @@ -147,7 +147,7 @@ async def test_extend_rediserror(aioredlock: AIORedlock) -> None: await aioredlock.extend() with unittest.mock.patch.object(AsyncScript, '__call__') as __call__: __call__.side_effect = TimeoutError - with pytest.raises(ExtendUnlockedLock): + with pytest.raises(ExtendUnlockedLock): # pragma: no cover await aioredlock.extend()