diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index fd618039..1cb2b30d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -40,6 +40,8 @@ def pytest_generate_tests(metafunc): filtered_backends.append(backend) if not filtered_backends: + # If you pass an empty list to parametrize Bad Things(tm) happen + # as of pytest 2.6.4 when the test also has a parametrize decorator pytest.skip( "No backends provided supply the interface: {0}".format( ", ".join(iface.__name__ for iface in required_interfaces) |