aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-23 11:01:25 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-23 11:01:25 -0700
commit7aab8b4ae4f5ab1710a985551c4105d608f5b852 (patch)
treefc0e9096c155374259b88f3d3404083f992e8836 /tests/utils.py
parenta05af52d1f0fba90030b62185d38523119d68b42 (diff)
downloadcryptography-7aab8b4ae4f5ab1710a985551c4105d608f5b852.tar.gz
cryptography-7aab8b4ae4f5ab1710a985551c4105d608f5b852.tar.bz2
cryptography-7aab8b4ae4f5ab1710a985551c4105d608f5b852.zip
Change how we represented that a test requires a backend.
This way is more extensible and requires less maintaince
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 5557ea85..bc5bc1ea 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -55,14 +55,6 @@ def select_backends(names, backend_list):
)
-def check_for_iface(name, iface, item):
- if name in item.keywords and "backend" in item.funcargs:
- if not isinstance(item.funcargs["backend"], iface):
- pytest.skip("{0} backend does not support {1}".format(
- item.funcargs["backend"], name
- ))
-
-
def check_backend_support(item):
supported = item.keywords.get("supported")
if supported and "backend" in item.funcargs: