class documentation

Sets LC_NUMERIC to a locale with comma as decimal point.

Classes derived from this class have setup and teardown methods that run tests with locale.LC_NUMERIC set to a locale where commas (',') are used as the decimal point instead of periods ('.'). On exit the locale is restored to the initial locale. It also serves as context manager with the same effect. If no such locale is available, the test is skipped.

New in version 1.15.0.
Method __enter__ Undocumented
Method __exit__ Undocumented
Method setup_method Undocumented
Method teardown_method Undocumented
Class Variable cur_locale Undocumented
Class Variable tst_locale Undocumented
def __enter__(self): (source)

Undocumented

def __exit__(self, type, value, traceback): (source)

Undocumented

def setup_method(self): (source)

Undocumented

def teardown_method(self): (source)

Undocumented

cur_locale = (source)

Undocumented

tst_locale = (source)

Undocumented