MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / setup

Function setup

test/__init__.py:1208–1215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1206
1207
1208def setup():
1209 if not _IS_SYNC:
1210 # Set up the event loop.
1211 get_loop()
1212 client_context.init()
1213 warnings.resetwarnings()
1214 warnings.simplefilter("always")
1215 global_knobs.enable()
1216
1217
1218def teardown():

Callers 2

test_setup_and_teardownFunction · 0.90
_setup.pyFile · 0.85

Calls 3

get_loopFunction · 0.70
initMethod · 0.45
enableMethod · 0.45

Tested by 1

test_setup_and_teardownFunction · 0.72