Revert "fix async run, add tests"

This reverts commit 41da793b5a.
This commit is contained in:
Eli Uriegas
2017-01-31 07:30:17 -06:00
parent 17a92a58b2
commit 487e3352e4
4 changed files with 1 additions and 46 deletions

View File

@@ -297,8 +297,7 @@ def serve(host, port, request_handler, error_handler, before_start=None,
:param protocol: Subclass of asyncio protocol class
:return: Nothing
"""
loop = loop or async_loop.new_event_loop()
asyncio.set_event_loop_policy(async_loop.EventLoopPolicy())
loop = async_loop.new_event_loop()
asyncio.set_event_loop(loop)
if debug: