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 5151 - python : ' 3.8'
5252 check_docs : ' 1'
5353 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'
5759 steps :
5860 - name : Checkout
5961 uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ def display_date(end_time, loop):
2424 loop .call_soon (display_date , [], loop )
2525 await h .wait ()
2626
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+ )
2832
2933 @pytest .mark .trio
3034 async def test_later_stop_later (self , loop ):
You can’t perform that action at this time.
0 commit comments