File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
hypothesis-python/src/hypothesis Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 7777if TYPE_CHECKING :
7878 from typing import TypeAlias
7979
80- from hypothesis .strategies import SearchStrategy
80+ from hypothesis .strategies import SearchStrategy , SharedStrategy
8181 from hypothesis .strategies ._internal .core import DataObject
8282 from hypothesis .strategies ._internal .random import RandomState
8383 from hypothesis .strategies ._internal .strategies import Ex
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def calc_label_from_callable(f: Callable) -> int:
4545 # probably an instance defining __call__
4646 try :
4747 return calc_label_from_hash (f )
48- except Exception :
48+ except Exception : # pragma: no cover
4949 # not hashable
5050 return calc_label_from_cls (type (f ))
5151
Original file line number Diff line number Diff line change 1111from typing import Callable , Generic , TypeVar
1212
1313from hypothesis .internal .conjecture .data import ConjectureData
14- from hypothesis .internal .conjecture .utils import calc_label_from_callable , combine_labels
14+ from hypothesis .internal .conjecture .utils import (
15+ calc_label_from_callable ,
16+ combine_labels ,
17+ )
1518from hypothesis .internal .reflection import get_pretty_function_description
1619from hypothesis .strategies ._internal .strategies import (
1720 RecurT ,
You can’t perform that action at this time.
0 commit comments