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

Function async_only_test

tools/synchro.py:184–193  ·  view source on GitHub ↗

Return True for async tests that should not be converted to sync.

(f: str)

Source from the content-addressed store, hash-verified

182
183
184def async_only_test(f: str) -> bool:
185 """Return True for async tests that should not be converted to sync."""
186 return f in [
187 "test_locks.py",
188 "test_concurrency.py",
189 "test_async_cancellation.py",
190 "test_async_loop_safety.py",
191 "test_async_contextvars_reset.py",
192 "test_async_loop_unblocked.py",
193 ]
194
195
196test_files = [

Callers 1

synchro.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected