Commit 5f46918
committed
fix: add timing tolerance to test_generate_with_jitter
Relax the lower bound from 3.0 to 2.99 seconds to account for
microsecond-level precision variations in timing checks. The test
was failing intermittently on Python 3.12 with delta values like
2.9999... which are technically valid but fell just under the strict
3.0 threshold.
Signed-off-by: Ntege Daniel <danientege785@gmail.com>1 parent a36dd29 commit 5f46918
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
| 194 | + | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments