File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11"""Tests for events.py."""
22
3- import collections .abc
43import concurrent .futures
54import functools
65import io
@@ -2335,8 +2334,6 @@ def check_source_traceback(h):
23352334 h = loop .call_later (0 , noop )
23362335 check_source_traceback (h )
23372336
2338- @unittest .skipUnless (hasattr (collections .abc , 'Coroutine' ),
2339- 'No collections.abc.Coroutine' )
23402337 def test_coroutine_like_object_debug_formatting (self ):
23412338 # Test that asyncio can format coroutines that are instances of
23422339 # collections.abc.Coroutine, but lack cr_core or gi_code attributes
Original file line number Diff line number Diff line change 3737
3838
3939def data_file (* filename ):
40- if hasattr (support , 'TEST_HOME_DIR' ):
41- fullname = os .path .join (support .TEST_HOME_DIR , * filename )
42- if os .path .isfile (fullname ):
43- return fullname
40+ fullname = os .path .join (support .TEST_HOME_DIR , * filename )
41+ if os .path .isfile (fullname ):
42+ return fullname
4443 fullname = os .path .join (os .path .dirname (__file__ ), '..' , * filename )
4544 if os .path .isfile (fullname ):
4645 return fullname
You can’t perform that action at this time.
0 commit comments