Message324175
Maybe skipping the test is the best thing:
diff --git a/Lib/test/test_utf8_mode.py b/Lib/test/test_utf8_mode.py
index 26e2e13ec5..d6c4b321be 100644
--- a/Lib/test/test_utf8_mode.py
+++ b/Lib/test/test_utf8_mode.py
@@ -12,7 +12,7 @@ from test.support.script_helper import assert_python_ok, assert_python_failure
MS_WINDOWS = (sys.platform == 'win32')
-
+HPUX = (sys.platform.startswith('hp-ux'))
class UTF8ModeTests(unittest.TestCase):
DEFAULT_ENV = {
@@ -205,6 +205,7 @@ class UTF8ModeTests(unittest.TestCase):
self.assertEqual(out, 'UTF-8 UTF-8')
@unittest.skipIf(MS_WINDOWS, 'test specific to Unix')
+ @unittest.skipIf(HPUX, 'test specific to Unix with ASCII default locale')
def test_cmd_line(self):
arg = 'h\xe9\u20ac'.encode('utf-8')
arg_utf8 = arg.decode('utf-8') |
|
Date |
User |
Action |
Args |
2018-08-27 13:34:00 | michael-o | set | recipients:
+ michael-o, terry.reedy, Michael.Felt |
2018-08-27 13:34:00 | michael-o | set | messageid: <1535376840.65.0.56676864532.issue34403@psf.upfronthosting.co.za> |
2018-08-27 13:34:00 | michael-o | link | issue34403 messages |
2018-08-27 13:34:00 | michael-o | create | |
|