From 72c06e04095c15a2c5f6956aee6f2097ef7fbed7 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Tue, 28 Jan 2025 21:52:42 +0100 Subject: [PATCH] gh-127146: Skip test_readinto_non_blocking on Emscripten non_blocking doesn't really work on Emscripten --- Lib/test/test_os.py | 1 + 1 file changed, 1 insertion(+) 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()