Back to index

python3.2  3.2.2
Public Member Functions
test.test_time._TestAsctimeYear Class Reference
Inheritance diagram for test.test_time._TestAsctimeYear:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def yearstr
def test_large_year

Detailed Description

Definition at line 286 of file test_time.py.


Member Function Documentation

Definition at line 290 of file test_time.py.

00290 
00291     def test_large_year(self):
00292         # Check that it doesn't crash for year > 9999
00293         self.assertEqual(self.yearstr(12345), '12345')
00294         self.assertEqual(self.yearstr(123456789), '123456789')

Here is the call graph for this function:

def test.test_time._TestAsctimeYear.yearstr (   self,
  y 
)

Definition at line 287 of file test_time.py.

00287 
00288     def yearstr(self, y):
00289         return time.asctime((y,) + (0,) * 8).split()[-1]

Here is the call graph for this function:

Here is the caller graph for this function:


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