Skip to content

Commit e8279c1

Browse files
committed
drop pylibmc for python3.12
1 parent 002dd78 commit e8279c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_cache/pylib_mock.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import time
22

3-
from pylibmc import Client
3+
try:
4+
from pylibmc import Client
5+
except ImportError:
6+
Client = type("pylibmc.Client", (), {})
47

58

69
class MockClient(Client):

0 commit comments

Comments
 (0)