Back to index

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

List of all members.

Public Member Functions

def test_twelve_noon_midnight

Detailed Description

Test a _strptime regression in '%I %p' at 12 noon (12 PM)

Definition at line 384 of file

Member Function Documentation

Definition at line 387 of file

00388     def test_twelve_noon_midnight(self):
00389         eq = self.assertEqual
00390         eq(time.strptime('12 PM', '%I %p')[3], 12)
00391         eq(time.strptime('12 AM', '%I %p')[3], 0)
00392         eq(_strptime._strptime_time('12 PM', '%I %p')[3], 12)
00393         eq(_strptime._strptime_time('12 AM', '%I %p')[3], 0)

Here is the call graph for this function:

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