Skip to content

Commit 08bc017

Browse files
committed
remove asyncio.WindowsSelectorEventLoopPolicy attempt
1 parent 54bfe45 commit 08bc017

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

pytest_twisted.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import functools
22
import inspect
3-
import sys
43
import warnings
54

65
import decorator
@@ -273,15 +272,6 @@ def init_qt5_reactor():
273272

274273

275274
def init_asyncio_reactor():
276-
if sys.platform == 'win32':
277-
if sys.version_info >= (3, 8):
278-
# If twisted releases a fix/workaround we can check that version too
279-
# https://twistedmatrix.com/trac/ticket/9766
280-
import asyncio
281-
282-
selector_policy = asyncio.WindowsSelectorEventLoopPolicy()
283-
asyncio.set_event_loop_policy(selector_policy)
284-
285275
from twisted.internet import asyncioreactor
286276

287277
_install_reactor(

0 commit comments

Comments
 (0)