From 02b8ee7993feafdb6c36ac42ce0c72956a96f8de Mon Sep 17 00:00:00 2001 From: Nicolas Baccelli Date: Mon, 19 Nov 2018 14:50:49 +0100 Subject: [PATCH] Fix deprecation error for pytest --- tests/online/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/online/conftest.py b/tests/online/conftest.py index 7fc0f12..27eb454 100644 --- a/tests/online/conftest.py +++ b/tests/online/conftest.py @@ -25,7 +25,8 @@ def check_sandbox_up(): return True -@pytest.fixture(params=[pytest.mark.skipif(not check_sandbox_up(), reason='need access to the sandbox')('parameter')]) +@pytest.fixture +@pytest.mark.skipif(not check_sandbox_up(), reason='need access to the sandbox') def connection(): return get_connection()