Skip to content

Commit f7325c2

Browse files
committed
fix(test_asyncioreactor.py): handle AttribueError from asynctest
asyncio connection backend is mostly broken, and need refactoring for now we'll just skip the test on error from importing asynctest which is broken for python 3.11
1 parent ae65692 commit f7325c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/io/test_asyncioreactor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from cassandra.io.asyncioreactor import AsyncioConnection
44
import asynctest
55
ASYNCIO_AVAILABLE = True
6-
except (ImportError, SyntaxError):
6+
except (ImportError, SyntaxError, AttributeError):
77
AsyncioConnection = None
88
ASYNCIO_AVAILABLE = False
99

0 commit comments

Comments
 (0)