From 88e42a540e3fcc6f99e3eeff643089e47b2c714a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 19 Sep 2021 00:43:02 -1000 Subject: [PATCH] Remove leftover debug prints in tests (#56409) --- tests/components/homekit/test_util.py | 3 --- tests/components/zeroconf/test_init.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/tests/components/homekit/test_util.py b/tests/components/homekit/test_util.py index 2c1deb3bd8e..94936e3e2c2 100644 --- a/tests/components/homekit/test_util.py +++ b/tests/components/homekit/test_util.py @@ -67,9 +67,6 @@ def _mock_socket(failure_attempts: int = 0) -> MagicMock: attempts = 0 def _simulate_bind(*_): - import pprint - - pprint.pprint("Calling bind") nonlocal attempts attempts += 1 if attempts <= failure_attempts: diff --git a/tests/components/zeroconf/test_init.py b/tests/components/zeroconf/test_init.py index d13bbc97547..b8ce28b6259 100644 --- a/tests/components/zeroconf/test_init.py +++ b/tests/components/zeroconf/test_init.py @@ -679,9 +679,6 @@ async def test_removed_ignored(hass, mock_async_zeroconf): await hass.async_block_till_done() assert len(mock_service_info.mock_calls) == 2 - import pprint - - pprint.pprint(mock_service_info.mock_calls[0][1]) assert mock_service_info.mock_calls[0][1][0] == "_service.added.local." assert mock_service_info.mock_calls[1][1][0] == "_service.updated.local."