Skip to content

Commit 4c0bfd1

Browse files
committed
test needs socket
1 parent 4ad011f commit 4c0bfd1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎Lib/test/test_listcomps.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import types
55
import unittest
66

7+
from test import support
78
from test.support import BrokenIter
89

910

@@ -530,6 +531,7 @@ def g(n):
530531
self.assertEqual(g.__code__.co_cellvars, ("x",))
531532
self.assertEqual([fn() for fn in g(2)[1]], [1, 1])
532533

534+
@support.requires_working_socket()
533535
def test_nested_inlined_async_comp_iter_var_is_fast_local(self):
534536
import asyncio
535537

0 commit comments

Comments
 (0)