Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3fb2ec1

Browse files
pganssleZac-HD
andcommittedApr 25, 2023
Enable settings to operate as a decorator
Co-authored-by: Zac Hatfield-Dodds <[email protected]>
1 parent 08f7d6e commit 3fb2ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Lib/test/support/_hypothesis_stubs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def register_random(*args, **kwargs):
7979

8080

8181
def settings(*args, **kwargs):
82-
pass # pragma: nocover
82+
return lambda f: f # pragma: nocover
8383

8484

8585
class HealthCheck(Enum):

0 commit comments

Comments
 (0)
Please sign in to comment.