Remove uvloop event policy (#29835)

* Remove uvloop event policy

* Clean tests

* Fix lint

* Cleanup statment
This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2019-12-11 15:55:09 +01:00
1 parent 2fb36d3dea
commit ce041f131e
2 files changed
+1 -17

No files matched your search

-6
View File
@@ -1,8 +1,6 @@
"""Set up some common test helper things."""
import asyncio
import functools
import logging
import os
from unittest.mock import patch
import pytest
@@ -26,10 +24,6 @@ from tests.test_util.aiohttp import (
mock_aiohttp_client,
) # noqa: E402 module level import not at top of file
if os.environ.get("UVLOOP") == "1":
import uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("sqlalchemy.engine").setLevel(logging.INFO)