File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 51
51
- python : ' 3.8'
52
52
check_docs : ' 1'
53
53
extra_name : ' , check docs'
54
- - python : ' 3.7' # <- not actually used
55
- pypy_nightly_branch : ' py3.7'
56
- extra_name : ' , pypy 3.7 nightly'
54
+ # pypy3.7-nightly produces an "OSError: handle is closed" in the
55
+ # bowels of multiprocessing after all tests appear to complete successfully
56
+ # - python: '3.7' # <- not actually used
57
+ # pypy_nightly_branch: 'py3.7'
58
+ # extra_name: ', pypy 3.7 nightly'
57
59
steps :
58
60
- name : Checkout
59
61
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ def display_date(end_time, loop):
24
24
loop .call_soon (display_date , [], loop )
25
25
await h .wait ()
26
26
27
- assert len (result ) == count , result
27
+ assert 2 <= len (result ) <= 3
28
+ assert all (
29
+ later - earlier >= datetime .timedelta (microseconds = 150000 )
30
+ for earlier , later in zip (result [:- 1 ], result [1 :])
31
+ )
28
32
29
33
@pytest .mark .trio
30
34
async def test_later_stop_later (self , loop ):
You can’t perform that action at this time.
0 commit comments