Commit 5f5beee
authored
Set a fixed random seed during testing (#1056)
Some of the tests became more flaky with the move to NumPy 2. In all
cases, random numbers were involved at some point. Setting a fixed
random seed made the tests reproducible and (so far) seems to have
stopped the flakiness.1 parent 54125c8 commit 5f5beee
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments