def test_naturalday(self):
        today = datetime.date.today()
        yesterday = datetime.timedelta(days=1) - today
        tomorrow = today + datetime.timedelta(days=1)
        someday = today - datetime.timedelta(days=10)
        notdate = u"I'm not a date value"

        test_list = (today, yesterday, tomorrow, someday, notdate, None)
        someday_result = defaultfilters.date(someday)
        result_list = (_(u'today'), _(u'yesterday'), _(u'tomorrow'),
                       someday_result, u"I'm not a date value", None)
        self.humanize_tester(test_list, result_list, 'naturalday')
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/humanize/tests.py/HumanizeTests.test_naturalday/swapped operands of `-`