(*args, **kwargs)
| 140 | call_count = [0] |
| 141 | |
| 142 | def failing_store(*args, **kwargs): |
| 143 | call_count[0] += 1 |
| 144 | if call_count[0] < 3: |
| 145 | raise DatabaseError("connection lost", "SELECT 1", [], Exception()) |
| 146 | return original_store(*args, **kwargs) |
| 147 | |
| 148 | tb._store_result = failing_store |
| 149 |
nothing calls this directly
no outgoing calls
no test coverage detected