Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_time.TestLocale Class Reference

List of all members.

Public Member Functions

def setUp
def tearDown
def test_bug_3061

Public Attributes

 oldloc

Detailed Description

Definition at line 256 of file test_time.py.


Member Function Documentation

Definition at line 257 of file test_time.py.

00257 
00258     def setUp(self):
00259         self.oldloc = locale.setlocale(locale.LC_ALL)

Here is the caller graph for this function:

Definition at line 260 of file test_time.py.

00260 
00261     def tearDown(self):
00262         locale.setlocale(locale.LC_ALL, self.oldloc)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 263 of file test_time.py.

00263 
00264     def test_bug_3061(self):
00265         try:
00266             tmp = locale.setlocale(locale.LC_ALL, "fr_FR")
00267         except locale.Error:
00268             # skip this test
00269             return
00270         # This should not cause an exception
00271         time.strftime("%B", (2009,2,1,0,0,0,0,0,0))
00272 

Here is the call graph for this function:


Member Data Documentation

Definition at line 258 of file test_time.py.


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