diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc6819c2..31ef98e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [ubuntu] - pyver: ['3.7', '3.8', '3.9', '3.10'] + pyver: ['3.7', '3.8', '3.9', '3.10', '3.11'] redis: ['latest'] ujson: [''] include: diff --git a/tests/utils.py b/tests/utils.py index c62f77ba..68c45f26 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -5,3 +5,6 @@ class Keys(str, Enum): KEY: str = "key" KEY_1: str = "random" KEY_LOCK: str = "key-lock" + + def __format__(self, spec): + return self.value