Include a traceback for non-strict event loop blocking detection (#118620)

This commit is contained in:
J. Nick Koston
2024-06-02 05:36:25 -05:00
committed by GitHub
parent e976db8443
commit 8f94205014
6 changed files with 30 additions and 14 deletions

View File

@@ -1271,7 +1271,7 @@ async def test_hass_components_use_reported(
)
integration_frame = frame.IntegrationFrame(
custom_integration=True,
_frame=mock_integration_frame,
frame=mock_integration_frame,
integration="test_integration_frame",
module="custom_components.test_integration_frame",
relative_filename="custom_components/test_integration_frame/__init__.py",
@@ -1969,7 +1969,7 @@ async def test_hass_helpers_use_reported(
"""Test that use of hass.components is reported."""
integration_frame = frame.IntegrationFrame(
custom_integration=True,
_frame=mock_integration_frame,
frame=mock_integration_frame,
integration="test_integration_frame",
module="custom_components.test_integration_frame",
relative_filename="custom_components/test_integration_frame/__init__.py",