File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7878
7979def onlyIfHasHypothesis (has_hypothesis : bool ) -> callable :
8080 """
81- Conditionally enable a class based on the availability of the hypothesis library.
81+ Conditionally enable a test suite class based on the availability of the hypothesis library.
8282
8383 If the provided flag is False, returns a dummy class with a placeholder method that does nothing,
84- allowing tests dependent on hypothesis to be safely bypassed. If True, the original
85- class is returned unchanged.
84+ allowing tests dependent on hypothesis to be safely bypassed. If the provided flag is True,
85+ the original class is returned unchanged.
8686
8787 Arguments:
8888 has_hypothesis (bool): Flag indicating whether the hypothesis library is available.
You can’t perform that action at this time.
0 commit comments