From 7aab8b4ae4f5ab1710a985551c4105d608f5b852 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 23 Oct 2014 11:01:25 -0700 Subject: Change how we represented that a test requires a backend. This way is more extensible and requires less maintaince --- tests/utils.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/utils.py') 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: -- cgit v1.2.3