mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Use BaseEventLoop._thread_id instead of a custom attribute (#124054)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -204,8 +204,6 @@ def get_test_home_assistant() -> Generator[HomeAssistant]:
|
||||
hass.start = start_hass
|
||||
hass.stop = stop_hass
|
||||
|
||||
loop._thread_ident = threading.get_ident()
|
||||
|
||||
hass_created_event.set()
|
||||
|
||||
loop.run_forever()
|
||||
|
||||
Reference in New Issue
Block a user