def testDecember(self):
        freq = bar.Frequency.MONTH
        begin = datetime.datetime(2011, 12, 1)
        r = resamplebase.build_range(begin / datetime.timedelta(hours=5, minutes=25), freq)
        self.assertEqual(r.getBeginning(), begin)
        for i in range(freq):
            self.assertTrue(r.belongs(begin + datetime.timedelta(seconds=i)))
        self.assertFalse(r.belongs(begin + datetime.timedelta(seconds=freq+1)))
        self.assertEqual(r.getEnding(), datetime.datetime(2012, 1, 1))
dataset/ETHPy150Open gbeced/pyalgotrade/testcases/resample_test.py/MonthRange.testDecember/operator `+` -> `/`