mirror of
https://github.com/python/cpython
synced 2026-09-29 11:30:29 +03:00
gh-70363: Emscripten cannot fstat renamed spool file (GH-92354)
This commit is contained in:
parent
9a0a7b4868
commit
49fda0cc51
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue