gh-127146: Update test skips for Emscripten 4.0.1 (#129375)

Updates the Emscripten test skips to reflect recent changes in Emscripten capabilities.
This commit is contained in:
Hood Chatham 2025-01-28 01:05:21 +00:00 committed by GitHub
parent 1c3bb200da
commit 8e57877e3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 6 additions and 13 deletions

View file

@ -161,7 +161,7 @@ class GenericTest:
self.assertIs(self.pathmodule.lexists(path=filename), True)
@unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()")
@unittest.skipIf(is_emscripten, "Emscripten pipe fds have no stat")
@unittest.skipIf(is_emscripten, "Fixed in next Emscripten release after 4.0.1")
def test_exists_fd(self):
r, w = os.pipe()
try: