def setUp(self):
     tm._skip_if_no_cday()
     self.rng = cdate_range(START, END)
Exemple #2
0
 def setUp(self):
     tm._skip_if_no_cday()
     self.rng = cdate_range(START, END)
 def test_generate_cday(self):
     tm._skip_if_no_cday()
     rng1 = list(generate_range(START, END, offset=datetools.cday))
     rng2 = list(generate_range(START, END, time_rule='C'))
     self.assert_numpy_array_equal(rng1, rng2)
Exemple #4
0
 def test_generate_cday(self):
     tm._skip_if_no_cday()
     rng1 = list(generate_range(START, END, offset=datetools.cday))
     rng2 = list(generate_range(START, END, time_rule='C'))
     self.assert_numpy_array_equal(rng1, rng2)