diff options
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 |