MCPcopy Create free account
hub / github.com/pyca/cryptography / check_backend_support

Function check_backend_support

tests/utils.py:25–28  ·  view source on GitHub ↗
(backend, item)

Source from the content-addressed store, hash-verified

23
24
25def check_backend_support(backend, item):
26 for mark in item.node.iter_markers("supported"):
27 if not mark.kwargs["only_if"](backend):
28 pytest.skip("{} ({})".format(mark.kwargs["skip_message"], backend))
29
30
31@contextmanager

Callers 3

backendFunction · 0.85

Calls

no outgoing calls

Tested by 3

backendFunction · 0.68