Skip to content

Commit 8b40613

Browse files
[STYLE] Apply suggestions from code review (- WIP PR #325 -)
- Bring the docstring additions into alignment with project conventions and style.
1 parent 8f65227 commit 8b40613

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tests/test_fuzz.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,13 @@
7777

7878

7979
def onlyIfHasHypothesis(has_hypothesis):
80-
"""Conditionally enable a class based on the availability of the hypothesis library.
81-
80+
"""
81+
Conditionally enable a class based on the availability of the hypothesis library.
8282
If the provided flag is False, returns a dummy class with a placeholder method that does nothing,
83-
allowing tests dependent on hypothesis to be safely bypassed. If True, the original class is returned
84-
unchanged.
85-
83+
allowing tests dependent on hypothesis to be safely bypassed. If True, the original
84+
class is returned unchanged.
8685
Args:
87-
has_hypothesis (bool): Flag indicating whether the hypothesis library is available.
86+
has_hypothesis (bool): Flag indicating whether the hypothesis library is available.
8887
"""
8988
def decorator(cls):
9089
if not has_hypothesis:

0 commit comments

Comments
 (0)