MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / setUp

Method setUp

tests/unit/io/test_libevreactor.py:136–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

134 return c
135
136 def setUp(self):
137 if is_monkey_patched():
138 raise unittest.SkipTest("Can't test libev with monkey patching.")
139 if LibevConnection is None:
140 raise unittest.SkipTest('libev does not appear to be installed correctly')
141
142 LibevConnection.initialize_reactor()
143 super(LibevTimerTest, self).setUp()

Callers

nothing calls this directly

Calls 2

is_monkey_patchedFunction · 0.90
initialize_reactorMethod · 0.45

Tested by

no test coverage detected