aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-06-03 20:38:22 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-06-03 14:38:22 -1000
commit133a17971af3c40ff935be5c74ba2542cebbea30 (patch)
tree8d1837008d4508e897bf856fac9dad5562c6ac11 /tests/utils.py
parentcb175069bfa921503d79f12399948173bf247779 (diff)
downloadcryptography-133a17971af3c40ff935be5c74ba2542cebbea30.tar.gz
cryptography-133a17971af3c40ff935be5c74ba2542cebbea30.tar.bz2
cryptography-133a17971af3c40ff935be5c74ba2542cebbea30.zip
Switched our backend to be a normal fixture in tests (#3665)
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 44e16a57..136b0607 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -25,15 +25,6 @@ KeyedHashVector = collections.namedtuple(
)
-def skip_if_empty(backend_list, required_interfaces):
- if not backend_list:
- pytest.skip(
- "No backends provided supply the interface: {0}".format(
- ", ".join(iface.__name__ for iface in required_interfaces)
- )
- )
-
-
def check_backend_support(item):
supported = item.keywords.get("supported")
if supported and "backend" in item.funcargs: