mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)
(cherry picked from commit 137fd3d88a
)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
611d43c2a4
commit
7afccd34a6
20 changed files with 109 additions and 14 deletions
|
@ -9,7 +9,9 @@ from array import array
|
|||
from weakref import proxy
|
||||
from functools import wraps
|
||||
|
||||
from test.support import cpython_only, swap_attr, gc_collect, is_emscripten
|
||||
from test.support import (
|
||||
cpython_only, swap_attr, gc_collect, is_emscripten, is_wasi
|
||||
)
|
||||
from test.support.os_helper import (TESTFN, TESTFN_UNICODE, make_bad_fd)
|
||||
from test.support.warnings_helper import check_warnings
|
||||
from collections import UserList
|
||||
|
@ -65,6 +67,7 @@ class AutoFileTests:
|
|||
self.assertRaises((AttributeError, TypeError),
|
||||
setattr, f, attr, 'oops')
|
||||
|
||||
@unittest.skipIf(is_wasi, "WASI does not expose st_blksize.")
|
||||
def testBlksize(self):
|
||||
# test private _blksize attribute
|
||||
blksize = io.DEFAULT_BUFFER_SIZE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue