pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/10de3600a908f96d1c43dac85ef867991d54708e

5097560d244c08.css" /> GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (… · python/cpython@10de360 · GitHub
Skip to content

Commit 10de360

Browse files
authored
GH-124108: Skip test_locale.test_strcoll_with_diacritic() on NetBSD (#124110)
Skip test_strcoll_with_diacritic() and test_strxfrm_with_diacritic() of test_locale on NetBSD due to lack of UTF-8 LC_COLLATE support.
1 parent a9c2bc1 commit 10de360

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_locale.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ def setUp(self):
355355
is_emscripten or is_wasi,
356356
"musl libc issue on Emscripten/WASI, bpo-46390"
357357
)
358+
@unittest.skipIf(sys.platform.startswith("netbsd"),
359+
"gh-124108: NetBSD doesn't support UTF-8 for LC_COLLATE")
358360
def test_strcoll_with_diacritic(self):
359361
self.assertLess(locale.strcoll('à', 'b'), 0)
360362

@@ -364,6 +366,8 @@ def test_strcoll_with_diacritic(self):
364366
is_emscripten or is_wasi,
365367
"musl libc issue on Emscripten/WASI, bpo-46390"
366368
)
369+
@unittest.skipIf(sys.platform.startswith("netbsd"),
370+
"gh-124108: NetBSD doesn't support UTF-8 for LC_COLLATE")
367371
def test_strxfrm_with_diacritic(self):
368372
self.assertLess(locale.strxfrm('à'), locale.strxfrm('b'))
369373

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy