Skip to content

Commit 39c114d

Browse files
ada-x64ppenna
authored andcommitted
Re-enable NSKIP028
locale.getencoding() works now.
1 parent 3787b94 commit 39c114d

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎Lib/test/test_fileinput.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -882,9 +882,6 @@ def test_no_ext(self):
882882
self.do_test_use_builtin_open_text("abcd", "r")
883883

884884
@unittest.skipUnless(gzip, "Requires gzip and zlib")
885-
# NSKIP028 https://github.com/nanvix/cpython/issues/508
886-
@unittest.skipIf(support.is_nanvix,
887-
"NSKIP028: locale.getencoding() returns garbage on Nanvix standalone")
888885
def test_gz_ext_fake(self):
889886
original_open = gzip.open
890887
gzip.open = self.fake_open
@@ -907,9 +904,6 @@ def test_gz_with_encoding_fake(self):
907904
self.assertEqual(list(result), ['Ex-binary string'])
908905

909906
@unittest.skipUnless(bz2, "Requires bz2")
910-
# NSKIP028 https://github.com/nanvix/cpython/issues/508
911-
@unittest.skipIf(support.is_nanvix,
912-
"NSKIP028: locale.getencoding() returns garbage on Nanvix standalone")
913907
def test_bz2_ext_fake(self):
914908
original_open = bz2.BZ2File
915909
bz2.BZ2File = self.fake_open

0 commit comments

Comments
 (0)