Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8c826b9

Browse filesBrowse files
committed
Update locale setting for coverage
1 parent 8d49b92 commit 8c826b9
Copy full SHA for 8c826b9

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎lib/matplotlib/tests/test_ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_ticker.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,7 +1452,7 @@ def test_latex(self, is_latex, usetex, expected):
14521452
def test_locale_comma():
14531453
currentLocale = locale.getlocale()
14541454
try:
1455-
locale.setlocale(locale.LC_ALL, 'fy_DE.UTF-8')
1455+
locale.setlocale(locale.LC_ALL, 'de_DE.UTF-8')
14561456
ticks = mticker.ScalarFormatter(useMathText=True, useLocale=True)
14571457
fmt = '$\\mathdefault{%1.1f}$'
14581458
x = ticks._format_maybe_minus_and_locale(fmt, 0.5)
@@ -1462,7 +1462,7 @@ def test_locale_comma():
14621462
x = ticks._format_maybe_minus_and_locale(fmt, 0.5)
14631463
assert x == ',$\\mathdefault{,0{,}5},$'
14641464
except locale.Error:
1465-
pytest.skip("Locale fy_DE.UTF-8 is not supported on this machine")
1465+
pytest.skip("Locale de_DE.UTF-8 is not supported on this machine")
14661466
finally:
14671467
locale.setlocale(locale.LC_ALL, currentLocale)
14681468

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.