Skip to content

Commit 0e7f1f3

Browse files
committed
Add reference to fix for setting time to 0
1 parent d03adfb commit 0e7f1f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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(is_emscripten, "Fixed by emscripten-core/emscripten#23310")
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)