From 8358542ce089301cd4c14e0ac39d9ab388e35975 Mon Sep 17 00:00:00 2001 From: Adam Mills Date: Sun, 25 Jun 2017 16:39:05 -0400 Subject: [PATCH] Remove unnecessary thread_ident assignment (#8194) * Remove mocking of _thread_ident * Re-add run_loop thread_ident assignment --- tests/common.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/common.py b/tests/common.py index e1a65800b4b..b2001a3c837 100644 --- a/tests/common.py +++ b/tests/common.py @@ -113,8 +113,6 @@ def get_test_home_assistant(): @asyncio.coroutine def async_test_home_assistant(loop): """Return a Home Assistant object pointing at test config dir.""" - loop._thread_ident = threading.get_ident() - hass = ha.HomeAssistant(loop) INSTANCES.append(hass)