From 474eeb858a7e49fcfb72d6f2ebc6e5dea1dc1d15 Mon Sep 17 00:00:00 2001 From: Liam DeVoe Date: Mon, 13 May 2024 12:54:44 -0400 Subject: [PATCH] type properly --- .../src/hypothesis/internal/conjecture/junkdrawer.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hypothesis-python/src/hypothesis/internal/conjecture/junkdrawer.py b/hypothesis-python/src/hypothesis/internal/conjecture/junkdrawer.py index b246885107..71e2546336 100644 --- a/hypothesis-python/src/hypothesis/internal/conjecture/junkdrawer.py +++ b/hypothesis-python/src/hypothesis/internal/conjecture/junkdrawer.py @@ -203,13 +203,11 @@ class LazySequenceCopy: in O(1) time. The full list API is not supported yet but there's no reason in principle it couldn't be.""" - __mask: Optional[Dict[int, int]] - def __init__(self, values: Sequence[int]): self.__values = values self.__len = len(values) - self.__mask = None - self.__popped_indices = None + self.__mask: Optional[Dict[int, int]] = None + self.__popped_indices: Optional[SortedList] = None def __len__(self) -> int: if self.__popped_indices is None: