We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d02cbb7 commit ca809f2Copy full SHA for ca809f2
hypothesis-python/src/hypothesis/core.py
@@ -942,7 +942,7 @@ def __init__(
942
self._timing_features = {}
943
944
@property
945
- def test_identifier(self):
+ def test_identifier(self) -> str:
946
return getattr(
947
current_pytest_item.value, "nodeid", None
948
) or get_pretty_function_description(self.wrapped_test)
hypothesis-python/src/hypothesis/internal/conjecture/shrinking/integer.py
@@ -61,7 +61,7 @@ def try_mask(k):
61
return self.consider(mask & base)
62
63
64
- def size(self):
+ def size(self) -> int:
65
return self.current.bit_length()
66
67
def shrink_by_multiples(self, k):
0 commit comments