Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
test.test_calendar.TimegmTestCase Class Reference

List of all members.

Public Member Functions

def test_timegm

Static Public Attributes

list TIMESTAMPS

Detailed Description

Definition at line 399 of file test_calendar.py.


Member Function Documentation

Definition at line 402 of file test_calendar.py.

00402 
00403     def test_timegm(self):
00404         for secs in self.TIMESTAMPS:
00405             tuple = time.gmtime(secs)
00406             self.assertEqual(secs, calendar.timegm(tuple))

Here is the call graph for this function:


Member Data Documentation

Initial value:
[0, 10, 100, 1000, 10000, 100000, 1000000,
                  1234567890, 1262304000, 1275785153,]

Definition at line 400 of file test_calendar.py.


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