diff options
author | Malcolm Smith <smith@chaquo.com> | 2024-11-19 15:42:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-19 15:42:19 (GMT) |
commit | c5c9286804e38c95fe717f22ce1bf2f18eee5b17 (patch) | |
tree | 9348152398bcf83887696e82d57e5b4cb04fb8dd /Lib/test/support | |
parent | 5fcc3a4cee76ab9bef4c2a76b0f5591cf576e2bf (diff) | |
download | cpython-c5c9286804e38c95fe717f22ce1bf2f18eee5b17.zip cpython-c5c9286804e38c95fe717f22ce1bf2f18eee5b17.tar.gz cpython-c5c9286804e38c95fe717f22ce1bf2f18eee5b17.tar.bz2 |
gh-118201: Simplify conv_confname (#126089)
Diffstat (limited to 'Lib/test/support')
-rw-r--r-- | Lib/test/support/os_helper.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/support/os_helper.py b/Lib/test/support/os_helper.py index 8914059..8071c24 100644 --- a/Lib/test/support/os_helper.py +++ b/Lib/test/support/os_helper.py @@ -632,8 +632,7 @@ def fd_count(): if hasattr(os, 'sysconf'): try: MAXFD = os.sysconf("SC_OPEN_MAX") - except (OSError, ValueError): - # gh-118201: ValueError is raised intermittently on iOS + except OSError: pass old_modes = None |