Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kratsg authored and matthewfeickert committed Sep 27, 2023
1 parent 03aa0fd commit 973085d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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")
Expand Down

0 comments on commit 973085d

Please sign in to comment.