File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def pytest_collection_modifyitems(items: list[pytest.Function]) -> None:
5454 # Check if this is a strict validation test (True parameter)
5555 client_param = item .callspec .params .get ("client" , None )
5656 async_client_param = item .callspec .params .get ("async_client" , None )
57-
57+
5858 is_strict = False
5959 if client_param is True :
6060 is_strict = True
@@ -64,7 +64,11 @@ def pytest_collection_modifyitems(items: list[pytest.Function]) -> None:
6464 is_strict = True
6565
6666 if is_strict :
67- reason = skip_marker .kwargs .get ("reason" , "Skip strict validation test" ) if skip_marker .kwargs else "Skip strict validation test"
67+ reason = (
68+ skip_marker .kwargs .get ("reason" , "Skip strict validation test" )
69+ if skip_marker .kwargs
70+ else "Skip strict validation test"
71+ )
6872 item .add_marker (pytest .mark .skip (reason = reason ))
6973
7074
You can’t perform that action at this time.
0 commit comments