From 973085d275e27e951e244face61d27ab0a82cbe0 Mon Sep 17 00:00:00 2001 From: Giordon Stark Date: Wed, 20 Sep 2023 10:47:52 -0700 Subject: [PATCH] typo --- tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 1338e7d36a..1771b98150 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -99,7 +99,7 @@ def backend(request): pid for pid in param_ids if request.node.get_closest_marker(f'only_{pid}') ] disable_backend = any( - backend in param_id for backend in request.config.disable_backend + backend in param_id for backend in request.config.option.disable_backend ) if skip_backend and (param_id in only_backends): @@ -109,7 +109,7 @@ def backend(request): if disable_backend: pytest.skip( - f"skipping {func_name} as the backend is disabled: {request.config.disable_backend}" + f"skipping {func_name} as the backend is disabled: {request.config.option.disable_backend}" ) elif skip_backend: pytest.skip(f"skipping {func_name} as specified")