Skip to content

Commit d68013a

Browse files
subrivianflub
authored andcommitted
Update _validate_func_only to return None so it can utilize the environment default
1 parent 7985dad commit d68013a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def _validate_method(method, where):
384384

385385
def _validate_func_only(func_only, where):
386386
if func_only is None:
387-
return False
387+
return None
388388
if not isinstance(func_only, bool):
389389
raise ValueError("Invalid func_only value %s from %s" % (func_only, where))
390390
return func_only

0 commit comments

Comments
 (0)