From 39c114d4e5a577307939ddb73113e7a8a5c7f43f Mon Sep 17 00:00:00 2001 From: ada Date: Fri, 31 Jul 2026 17:05:15 -0500 Subject: [PATCH] Re-enable NSKIP028 locale.getencoding() works now. --- Lib/test/test_fileinput.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Lib/test/test_fileinput.py b/Lib/test/test_fileinput.py index 0d7a86ef83d90cb..1a1cc2b7287d35d 100644 --- a/Lib/test/test_fileinput.py +++ b/Lib/test/test_fileinput.py @@ -882,9 +882,6 @@ def test_no_ext(self): self.do_test_use_builtin_open_text("abcd", "r") @unittest.skipUnless(gzip, "Requires gzip and zlib") - # NSKIP028 https://github.com/nanvix/cpython/issues/508 - @unittest.skipIf(support.is_nanvix, - "NSKIP028: locale.getencoding() returns garbage on Nanvix standalone") def test_gz_ext_fake(self): original_open = gzip.open gzip.open = self.fake_open @@ -907,9 +904,6 @@ def test_gz_with_encoding_fake(self): self.assertEqual(list(result), ['Ex-binary string']) @unittest.skipUnless(bz2, "Requires bz2") - # NSKIP028 https://github.com/nanvix/cpython/issues/508 - @unittest.skipIf(support.is_nanvix, - "NSKIP028: locale.getencoding() returns garbage on Nanvix standalone") def test_bz2_ext_fake(self): original_open = bz2.BZ2File bz2.BZ2File = self.fake_open