Skip to content

Commit 18cd732

Browse files
committed
deflake alt-backend test
1 parent 30921f4 commit 18cd732

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hypothesis-python/tests/conjecture/test_alt_backend.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ class PrngProvider(PrimitiveProvider):
4141
# a very simple PRNG to choose each value. Dumb but efficient, and entirely
4242
# independent of our real backend
4343

44-
def __init__(self, conjecturedata: "ConjectureData", /) -> None:
44+
def __init__(self, conjecturedata: "ConjectureData | None", /) -> None:
4545
super().__init__(conjecturedata)
46-
self.prng = Random()
46+
self.prng = Random(0)
4747

4848
def draw_boolean(
4949
self,

0 commit comments

Comments
 (0)