Skip to content

Commit a8bbec5

Browse files
committed
Skip two more tests which are fixed by a pending Emscripten PR
1 parent 7e77e68 commit a8bbec5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Lib/test/test_io.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3933,6 +3933,7 @@ def test_issue35928(self):
39333933
self.assertEqual(res + f.readline(), 'foo\nbar\n')
39343934

39353935
@unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()")
3936+
@unittest.skipIf(support.is_emscripten, "Would be fixed by emscripten-core/emscripten#23058")
39363937
def test_read_non_blocking(self):
39373938
import os
39383939
r, w = os.pipe()

Lib/test/test_zipfile/test_core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
from test.support import script_helper
2323
from test.support import (
2424
findfile, requires_zlib, requires_bz2, requires_lzma,
25-
captured_stdout, captured_stderr, requires_subprocess
25+
captured_stdout, captured_stderr, requires_subprocess,
26+
is_emscripten
2627
)
2728
from test.support.os_helper import (
2829
TESTFN, unlink, rmtree, temp_dir, temp_cwd, fd_count, FakePath
@@ -622,6 +623,7 @@ def test_write_to_readonly(self):
622623
with self.assertRaises(ValueError):
623624
zipfp.open(TESTFN, mode='w')
624625

626+
@unittest.skipIf(support.is_emscripten, "Would be fixed by emscripten-core/emscripten#23058")
625627
def test_add_file_before_1980(self):
626628
# Set atime and mtime to 1970-01-01
627629
os.utime(TESTFN, (0, 0))

0 commit comments

Comments
 (0)