From ca143f8a354c4d05c86c3a52adcbe956c211d0b8 Mon Sep 17 00:00:00 2001 From: Diogo Gomes Date: Sat, 2 Feb 2019 13:54:46 +0000 Subject: [PATCH] print() left behind (#20689) --- tests/components/sensor/test_history_stats.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/components/sensor/test_history_stats.py b/tests/components/sensor/test_history_stats.py index 28d01de4b34..eda0034c922 100644 --- a/tests/components/sensor/test_history_stats.py +++ b/tests/components/sensor/test_history_stats.py @@ -54,7 +54,6 @@ class TestHistoryStatsSensor(unittest.TestCase): """Test the conversion from templates to period.""" now = datetime(2019, 1, 1, 23, 30, 0, tzinfo=pytz.utc) with patch.dict(template.ENV.globals, {'now': lambda: now}): - print(dt_util.now()) today = Template('{{ now().replace(hour=0).replace(minute=0)' '.replace(second=0) }}', self.hass) duration = timedelta(hours=2, minutes=1)