print() left behind (#20689)

pull/20695/head
Diogo Gomes 2019-02-02 13:54:46 +00:00 committed by Fabian Affolter
parent 47f60e6cf2
commit ca143f8a35
1 changed files with 0 additions and 1 deletions

View File

@ -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)