MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / is_gevent_monkey_patched

Function is_gevent_monkey_patched

tests/__init__.py:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 return False
45
46def is_gevent_monkey_patched():
47 if 'gevent.monkey' not in sys.modules:
48 return False
49 import gevent.socket
50 return socket.socket is gevent.socket.socket
51
52
53def is_monkey_patched():

Callers 1

is_monkey_patchedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected