Skip to content

Commit 7893908

Browse files
authored
gh-127146: Skip test_readinto_non_blocking on Emscripten (#129421)
Skips an additional test due to non_blocking not working reliably on Emscripten.
1 parent 64c417d commit 7893908

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_os.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ def test_readinto(self):
264264
@unittest.skipUnless(hasattr(os, 'get_blocking'),
265265
'needs os.get_blocking() and os.set_blocking()')
266266
@unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()")
267+
@unittest.skipIf(support.is_emscripten, "set_blocking does not work correctly")
267268
def test_readinto_non_blocking(self):
268269
# Verify behavior of a readinto which would block on a non-blocking fd.
269270
r, w = os.pipe()

0 commit comments

Comments
 (0)