Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3fb2ec1

Browse filesBrowse 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
Copy full SHA for 3fb2ec1

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: Lib/test/support/_hypothesis_stubs/__init__.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.