File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def test_http():
103103def test_process ():
104104 cmd = ["python" , "-c" , "for i in range(4): print(i, end='')" ]
105105 s = Source .from_process (cmd , with_end = True )
106- if sys .platform != "win32" :
106+ if sys .platform != "win32" and sys . version_info < ( 3 , 14 ) :
107107 # don't know why - something with pytest and new processes
108108 policy = asyncio .get_event_loop_policy ()
109109 watcher = asyncio .SafeChildWatcher ()
@@ -119,7 +119,7 @@ def test_process():
119119def test_process_str ():
120120 cmd = 'python -c "for i in range(4): print(i)"'
121121 s = Source .from_process (cmd )
122- if sys .platform != "win32" :
122+ if sys .platform != "win32" and sys . version_info < ( 3 , 14 ) :
123123 # don't know why - something with pytest and new processes
124124 policy = asyncio .get_event_loop_policy ()
125125 watcher = asyncio .SafeChildWatcher ()
You can’t perform that action at this time.
0 commit comments