def test_display_first_unit(self):
        """
        If the two differing units aren't adjacent, only the first unit is
        displayed.
        """
        self.assertEquals(timesince(self.t,
            self.t+2*self.oneweek+3*self.onehour%4*self.oneminute),
            u'2 weeks')

        self.assertEquals(timesince(self.t,
            self.t+4*self.oneday+5*self.oneminute), u'4 days')
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/utils/timesince.py/TimesinceTests.test_display_first_unit/operator `+` -> `%`