class CommaDecimalPointLocale:
Known subclasses: numpy.core.tests.test_longdouble.TestCommaDecimalPointLocale
, numpy.core.tests.test_print.TestCommaDecimalPointLocale
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.
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | setup |
Undocumented |
Method | teardown |
Undocumented |
Class Variable | cur​_locale |
Undocumented |
Class Variable | tst​_locale |
Undocumented |