@@ -309,7 +309,7 @@ def test_properties_daily(self):
309
309
assert_equal (b_date .month , 1 )
310
310
assert_equal (b_date .day , 1 )
311
311
assert_equal (b_date .weekday , 0 )
312
- assert_equal (b_date .day_of_year , 1 )
312
+ assert_equal (b_date .dayofyear , 1 )
313
313
#
314
314
d_date = Period (freq = 'D' , year = 2007 , month = 1 , day = 1 )
315
315
#
@@ -318,7 +318,7 @@ def test_properties_daily(self):
318
318
assert_equal (d_date .month , 1 )
319
319
assert_equal (d_date .day , 1 )
320
320
assert_equal (d_date .weekday , 0 )
321
- assert_equal (d_date .day_of_year , 1 )
321
+ assert_equal (d_date .dayofyear , 1 )
322
322
323
323
324
324
def test_properties_hourly (self ):
@@ -330,7 +330,7 @@ def test_properties_hourly(self):
330
330
assert_equal (h_date .month , 1 )
331
331
assert_equal (h_date .day , 1 )
332
332
assert_equal (h_date .weekday , 0 )
333
- assert_equal (h_date .day_of_year , 1 )
333
+ assert_equal (h_date .dayofyear , 1 )
334
334
assert_equal (h_date .hour , 0 )
335
335
#
336
336
@@ -344,7 +344,7 @@ def test_properties_minutely(self):
344
344
assert_equal (t_date .month , 1 )
345
345
assert_equal (t_date .day , 1 )
346
346
assert_equal (t_date .weekday , 0 )
347
- assert_equal (t_date .day_of_year , 1 )
347
+ assert_equal (t_date .dayofyear , 1 )
348
348
assert_equal (t_date .hour , 0 )
349
349
assert_equal (t_date .minute , 0 )
350
350
@@ -359,7 +359,7 @@ def test_properties_secondly(self):
359
359
assert_equal (s_date .month , 1 )
360
360
assert_equal (s_date .day , 1 )
361
361
assert_equal (s_date .weekday , 0 )
362
- assert_equal (s_date .day_of_year , 1 )
362
+ assert_equal (s_date .dayofyear , 1 )
363
363
assert_equal (s_date .hour , 0 )
364
364
assert_equal (s_date .minute , 0 )
365
365
assert_equal (s_date .second , 0 )
0 commit comments