[Python-checkins] gh-70363: Emscripten cannot fstat renamed spool file (GH-92354)
tiran
webhook-mailer at python.org
Thu May 5 19:10:54 EDT 2022
https://github.com/python/cpython/commit/49fda0cc51c09e26d68431d5f86e11d923cf7b8e
commit: 49fda0cc51c09e26d68431d5f86e11d923cf7b8e
branch: main
author: Christian Heimes <christian at python.org>
committer: tiran <christian at python.org>
date: 2022-05-06T01:10:37+02:00
summary:
gh-70363: Emscripten cannot fstat renamed spool file (GH-92354)
files:
M Lib/test/test_tempfile.py
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py
index 07a54028ec697..a05f3c84ccfc9 100644
--- a/Lib/test/test_tempfile.py
+++ b/Lib/test/test_tempfile.py
@@ -1109,6 +1109,9 @@ def test_del_unrolled_file(self):
with self.assertWarns(ResourceWarning):
f.__del__()
+ @unittest.skipIf(
+ support.is_emscripten, "Emscripten cannot fstat renamed files."
+ )
def test_del_rolled_file(self):
# The rolled file should be deleted when the SpooledTemporaryFile
# object is deleted. This should raise a ResourceWarning since the file
More information about the Python-checkins
mailing list