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