This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael-o
Recipients Michael.Felt, michael-o, terry.reedy
Date 2018-08-27.13:34:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535376840.65.0.56676864532.issue34403@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2018-08-27 13:34:00michael-osetrecipients: + michael-o, terry.reedy, Michael.Felt
2018-08-27 13:34:00michael-osetmessageid: <1535376840.65.0.56676864532.issue34403@psf.upfronthosting.co.za>
2018-08-27 13:34:00michael-olinkissue34403 messages
2018-08-27 13:34:00michael-ocreate