https://github.com/python/cpython/commit/789390872b16e1c8cc681605bf100d2d7b3e9111
commit: 789390872b16e1c8cc681605bf100d2d7b3e9111
branch: main
author: Hood Chatham <[email protected]>
committer: freakboy3742 <[email protected]>
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()
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]