Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
test.test_locale.EnUSCookedTest Class Reference
Inheritance diagram for test.test_locale.EnUSCookedTest:
Inheritance graph
[legend]
Collaboration diagram for test.test_locale.EnUSCookedTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def tearDown

Static Public Attributes

dictionary cooked_values

Detailed Description

Definition at line 88 of file test_locale.py.


Member Function Documentation

def test.test_locale.BaseCookedTest.setUp (   self) [inherited]

Reimplemented in test.test_locale.TestEnUSNumberFormatting.

Definition at line 58 of file test_locale.py.

00058 
00059     def setUp(self):
00060         locale._override_localeconv = self.cooked_values

Here is the caller graph for this function:

def test.test_locale.BaseCookedTest.tearDown (   self) [inherited]

Definition at line 61 of file test_locale.py.

00061 
00062     def tearDown(self):
00063         locale._override_localeconv = {}

Here is the caller graph for this function:


Member Data Documentation

Initial value:
{
        'currency_symbol': '$',
        'decimal_point': '.',
        'frac_digits': 2,
        'grouping': [3, 3, 0],
        'int_curr_symbol': 'USD ',
        'int_frac_digits': 2,
        'mon_decimal_point': '.',
        'mon_grouping': [3, 3, 0],
        'mon_thousands_sep': ',',
        'n_cs_precedes': 1,
        'n_sep_by_space': 0,
        'n_sign_posn': 1,
        'negative_sign': '-',
        'p_cs_precedes': 1,
        'p_sep_by_space': 0,
        'p_sign_posn': 1,
        'positive_sign': '',
        'thousands_sep': ','
    }

Definition at line 91 of file test_locale.py.


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