MCPcopy Create free account
hub / github.com/tox-dev/filelock / rollback

Function rollback

tests/sqlite/async_helpers.py:51–54  ·  view source on GitHub ↗
(real_connection: sqlite3.Connection)

Source from the content-addressed store, hash-verified

49 finish_rollback: threading.Event,
50) -> None:
51 def rollback(real_connection: sqlite3.Connection) -> None:
52 loop.call_soon_threadsafe(rollback_started.set)
53 finish_rollback.wait()
54 real_connection.rollback()
55
56 patch_connection(mocker, rollback=rollback)
57

Callers

nothing calls this directly

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected