Back to index

python3.2  3.2.2
Public Member Functions
test.test_strptime.JulianTests Class Reference

List of all members.

Public Member Functions

def test_all_julian_days

Detailed Description

Test a _strptime regression that all julian (1-366) are accepted

Definition at line 395 of file

Member Function Documentation

Definition at line 398 of file

00399     def test_all_julian_days(self):
00400         eq = self.assertEqual
00401         for i in range(1, 367):
00402             # use 2004, since it is a leap year, we have 366 days
00403             eq(_strptime._strptime_time('%d 2004' % i, '%j %Y')[7], i)

Here is the call graph for this function:

The documentation for this class was generated from the following file: