Skip to content

Commit 3fb2ec1

Browse files
pganssleZac-HD
andcommitted
Enable settings to operate as a decorator
Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
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

+1-1
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)