We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced13c9 commit 2c44e3bCopy full SHA for 2c44e3b
Lib/test/test_inspect.py
@@ -67,7 +67,8 @@ def revise(filename, *args):
67
68
69
def tearDownModule():
70
- asyncio.set_event_loop_policy(None)
+ if support.has_socket_support:
71
+ asyncio.set_event_loop_policy(None)
72
73
74
def signatures_with_lexicographic_keyword_only_parameters():
@@ -2326,6 +2327,7 @@ async def func(a=None):
2326
2327
{'a': None, 'gencoro': gencoro, 'b': 'spam'})
2328
2329
2330
+@support.requires_working_socket()
2331
class TestGetAsyncGenState(unittest.IsolatedAsyncioTestCase):
2332
2333
def setUp(self):
0 commit comments