Skip to content

Commit ca809f2

Browse files
committed
a few more type hints
1 parent d02cbb7 commit ca809f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hypothesis-python/src/hypothesis/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def __init__(
942942
self._timing_features = {}
943943

944944
@property
945-
def test_identifier(self):
945+
def test_identifier(self) -> str:
946946
return getattr(
947947
current_pytest_item.value, "nodeid", None
948948
) or get_pretty_function_description(self.wrapped_test)

hypothesis-python/src/hypothesis/internal/conjecture/shrinking/integer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def try_mask(k):
6161
return self.consider(mask & base)
6262

6363
@property
64-
def size(self):
64+
def size(self) -> int:
6565
return self.current.bit_length()
6666

6767
def shrink_by_multiples(self, k):

0 commit comments

Comments
 (0)