Skip to content

Commit 372bc2a

Browse files
authored
Merge pull request #48 from Doist/tartandsandal/python-3.11
Support python 3.11
2 parents d32288f + 9363918 commit 372bc2a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

bitmapist/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ class MixinEventsMisc:
384384

385385
def has_events_marked(self):
386386
cli = get_redis(self.system)
387-
return cli.exists(self.redis_key)
387+
return bool(cli.exists(self.redis_key))
388388

389389
def delete(self):
390390
cli = get_redis(self.system)

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"Programming Language :: Python :: 3.3",
2727
"Programming Language :: Python :: 3.4",
2828
"Programming Language :: Python :: 3.5",
29+
"Programming Language :: Python :: 3.11",
2930
"Topic :: Software Development :: Libraries :: Python Modules",
3031
],
3132
packages=["bitmapist", "bitmapist.cohort"],

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{27,33,34,35},
2+
envlist = py{27,33,34,35,311},
33
pypy
44

55
[testenv]

0 commit comments

Comments
 (0)