Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ succeeds_if
Function
succeeds_if
lib/sqlalchemy/testing/exclusions.py:202–204 ·
view source on GitHub ↗
(predicate, reason=None)
Source
from the content-addressed store, hash-verified
200
201
202
def
succeeds_if(predicate, reason=None):
203
predicate = _as_predicate(predicate)
204
return
fails_if(NotPredicate(predicate), reason)
205
206
207
class
Predicate:
Callers
4
database_discards_null_for_autoincrement
Method · 0.90
datetime_historic
Method · 0.90
date_historic
Method · 0.90
fails_on_everything_except
Function · 0.85
Calls
2
fails_if
Function · 0.85
NotPredicate
Class · 0.85
Tested by
no test coverage detected