From 003952748b0cc0d78c0ab46db01308b15fd6b0f8 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 19 Aug 2016 17:17:08 +0200 Subject: [PATCH] Turn on BDD tests for pytest 3.0 again pytest-bdd is fixed in the respective PR --- tests/conftest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index f08208406..9f9cc3b16 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -121,8 +121,7 @@ def pytest_collection_modifyitems(items): def pytest_ignore_collect(path): """Ignore BDD tests if we're unable to run them.""" - skip_bdd = (hasattr(sys, 'frozen') or - int(pytest.__version__.split('.')[0]) == 3) + skip_bdd = hasattr(sys, 'frozen') rel_path = path.relto(os.path.dirname(__file__)) return rel_path == os.path.join('end2end', 'features') and skip_bdd