From: Hood Chatham Date: Tue, 28 Jan 2025 23:30:42 +0000 (+0000) Subject: gh-127146: Skip test_readinto_non_blocking on Emscripten (#129421) X-Git-Tag: v3.14.0a5~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=789390872b16e1c8cc681605bf100d2d7b3e9111;p=thirdparty%2FPython%2Fcpython.git gh-127146: Skip test_readinto_non_blocking on Emscripten (#129421) Skips an additional test due to non_blocking not working reliably on Emscripten. --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 72208d1c5825..6e40cb4f58bf 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -264,6 +264,7 @@ class FileTests(unittest.TestCase): @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()