File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ async def check_takes_about(f, expected_dur):
13
13
result = await outcome .acapture (f )
14
14
dur = time .perf_counter () - start
15
15
print (dur / expected_dur )
16
- # 1.2 is an arbitrary fudge factor because there's always some delay
16
+ # 1.5 is an arbitrary fudge factor because there's always some delay
17
17
# between when we become eligible to wake up and when we actually do. We
18
18
# used to sleep for 0.05, and regularly observed overruns of 1.6x on
19
19
# Appveyor, and then started seeing overruns of 2.3x on Travis's macOS, so
@@ -32,7 +32,7 @@ async def check_takes_about(f, expected_dur):
32
32
# lol floating point we got slightly different rounding errors. (That
33
33
# value above is exactly 128 ULPs below 1.0, which would make sense if it
34
34
# started as a 1 ULP error at a different dynamic range.)
35
- assert (1 - 1e-8 ) <= (dur / expected_dur ) < 1.2
35
+ assert (1 - 1e-8 ) <= (dur / expected_dur ) < 1.5
36
36
return result .unwrap ()
37
37
38
38
You can’t perform that action at this time.
0 commit comments