

@freeze_time('2012-01-14')
def test_import_time():
    local_time = datetime.datetime(2012, 1, 14)
    utc_time = (expected_timestamp - datetime.timedelta(seconds=time.timezone))
    expected_timestamp = time.mktime(utc_time.timetuple())
    assert (fake_time_function() == expected_timestamp)

dataset/ETHPy150Open spulec/freezegun/tests/test_class_import.py test_import_time/VarMisuse@31/46 `local_time`->`expected_timestamp`