gh-127146: Skip test_readinto_non_blocking on Emscripten (#129421)
![](https://secure.gravatar.com/avatar/cc7737cd64a84f1b5c61a160798e97ee.jpg?s=120&d=mm&r=g)
https://github.com/python/cpython/commit/789390872b16e1c8cc681605bf100d2d7b3... commit: 789390872b16e1c8cc681605bf100d2d7b3e9111 branch: main author: Hood Chatham <roberthoodchatham@gmail.com> committer: freakboy3742 <russell@keith-magee.com> date: 2025-01-29T07:30:42+08:00 summary: gh-127146: Skip test_readinto_non_blocking on Emscripten (#129421) Skips an additional test due to non_blocking not working reliably on Emscripten. files: M Lib/test/test_os.py diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 72208d1c582568..6e40cb4f58bfee 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -264,6 +264,7 @@ def test_readinto(self): @unittest.skipUnless(hasattr(os, 'get_blocking'), 'needs os.get_blocking() and os.set_blocking()') @unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()") + @unittest.skipIf(support.is_emscripten, "set_blocking does not work correctly") def test_readinto_non_blocking(self): # Verify behavior of a readinto which would block on a non-blocking fd. r, w = os.pipe()
participants (1)
-
freakboy3742