Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ skip_if
Function
skip_if
lib/sqlalchemy/testing/exclusions.py:20–24 ·
view source on GitHub ↗
(predicate, reason=None)
Source
from the content-addressed store, hash-verified
18
19
20
def
skip_if(predicate, reason=None):
21
rule = compound()
22
pred = _as_predicate(predicate, reason)
23
rule.skips.add(pred)
24
return
rule
25
26
27
def
fails_if(predicate, reason=None):
Callers
15
deferrable_or_no_constraints
Method · 0.90
implicitly_named_constraints
Method · 0.90
foreign_keys
Method · 0.90
foreign_key_cycles_w_cascade
Method · 0.90
on_update_cascade
Method · 0.90
non_updating_cascade
Method · 0.90
recursive_fk_cascade
Method · 0.90
unbounded_varchar
Method · 0.90
boolean_col_expressions
Method · 0.90
non_native_boolean_unconstrained
Method · 0.90
expression_server_defaults
Method · 0.90
no_quoting_special_bind_names
Method · 0.90
Calls
2
compound
Class · 0.85
add
Method · 0.45
Tested by
no test coverage detected