diff options
| author | Christian Heimes <christian@python.org> | 2022-05-05 23:10:37 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-05 23:10:37 (GMT) |
| commit | 49fda0cc51c09e26d68431d5f86e11d923cf7b8e (patch) | |
| tree | 4231816c5ebb45fc73acd4a9f3f9373e5931f6c6 /Lib/test/test_tempfile.py | |
| parent | 9a0a7b4868c1e40a1863394bc475132b47d8926f (diff) | |
| download | cpython-49fda0cc51c09e26d68431d5f86e11d923cf7b8e.zip cpython-49fda0cc51c09e26d68431d5f86e11d923cf7b8e.tar.gz cpython-49fda0cc51c09e26d68431d5f86e11d923cf7b8e.tar.bz2 | |
gh-70363: Emscripten cannot fstat renamed spool file (GH-92354)
Diffstat (limited to 'Lib/test/test_tempfile.py')
| -rw-r--r-- | Lib/test/test_tempfile.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 07a5402..a05f3c8 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -1109,6 +1109,9 @@ class TestSpooledTemporaryFile(BaseTestCase): 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 |
