

def test_different_timezones(self):
    ' When using two different timezones. '
    now = datetime.datetime.now()
    now_tz = datetime.datetime.now(LocalTimezone(now))
    now_tz_i = datetime.datetime.now(FixedOffset(((3 * 60) + 15)))
    self.assertEquals(timesince(now), '0 minutes')
    self.assertEquals(timesince(now_tz), '0 minutes')
    self.assertEquals(timeuntil(now_tz_i, now_tz_i), '0 minutes')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/utils/timesince.py TimesinceTests.test_different_timezones/VarMisuse@88/133 `now_tz`->`now_tz_i`