aboutsummaryrefslogtreecommitdiffstats
path: root/tests/conftest.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-24 10:30:25 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-10-24 10:30:25 -0700
commit56f1a0ae53773285db53c367e697e0a015eed5f1 (patch)
tree995dd22537913689d260b2cad3c8e4ebc576e597 /tests/conftest.py
parentdaefd3fbff9b83b1d714e93e46abcdc152873b80 (diff)
downloadcryptography-56f1a0ae53773285db53c367e697e0a015eed5f1.tar.gz
cryptography-56f1a0ae53773285db53c367e697e0a015eed5f1.tar.bz2
cryptography-56f1a0ae53773285db53c367e697e0a015eed5f1.zip
add comment explaining some weirdness
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py2
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)