Skip to content

Commit e3b80bf

Browse files
committed
skip test pylibmc for python3.12
1 parent e8279c1 commit e3b80bf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_cache/test_pylibmc_cache.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
import sys
2+
3+
import pytest
4+
5+
if sys.version_info >= (3, 12):
6+
pytest.skip(reason="This test requires Python 3.11 or lower")
7+
18
from time import sleep
29
from unittest.mock import patch
310

4-
import pytest
511
from ellar.cache.backends.pylib_cache import PyLibMCCacheBackend
612
from ellar.cache.backends.pymem_cache import PyMemcacheCacheBackend
713
from ellar.cache.model import CacheKeyWarning

0 commit comments

Comments
 (0)