diff options
author | Hood Chatham <roberthoodchatham@gmail.com> | 2024-12-17 07:48:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 07:48:23 (GMT) |
commit | 1183e4ce2f7c07aeeff7c757ec749ef5af9d4415 (patch) | |
tree | 23780af57549fd119475060bb2f800b021eea86e /Lib/test/test_tempfile.py | |
parent | cfeaa992ba9bad9be2687afcafd85156703d74e8 (diff) | |
download | cpython-1183e4ce2f7c07aeeff7c757ec749ef5af9d4415.zip cpython-1183e4ce2f7c07aeeff7c757ec749ef5af9d4415.tar.gz cpython-1183e4ce2f7c07aeeff7c757ec749ef5af9d4415.tar.bz2 |
gh-127146: Emscripten clean up test suite (#127984)
Removed test skips that are no longer required as a result of Emscripten updates.
Diffstat (limited to 'Lib/test/test_tempfile.py')
-rw-r--r-- | Lib/test/test_tempfile.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index a5e182c..57e9bd2 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -328,10 +328,6 @@ def _mock_candidate_names(*names): class TestBadTempdir: - - @unittest.skipIf( - support.is_emscripten, "Emscripten cannot remove write bits." - ) def test_read_only_directory(self): with _inside_empty_temp_dir(): oldmode = mode = os.stat(tempfile.tempdir).st_mode @@ -1240,9 +1236,6 @@ 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 @@ -1468,9 +1461,6 @@ class TestSpooledTemporaryFile(BaseTestCase): pass self.assertRaises(ValueError, use_closed) - @unittest.skipIf( - support.is_emscripten, "Emscripten cannot fstat renamed files." - ) def test_truncate_with_size_parameter(self): # A SpooledTemporaryFile can be truncated to zero size f = tempfile.SpooledTemporaryFile(max_size=10) |