mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
gh-127146: Skip test_readinto_non_blocking on Emscripten (#129421)
Skips an additional test due to non_blocking not working reliably on Emscripten.
This commit is contained in:
parent
64c417dee5
commit
789390872b
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue