summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
diff options
context:
space:
mode:
authorMalcolm Smith <smith@chaquo.com>2024-11-19 15:42:19 (GMT)
committerGitHub <noreply@github.com>2024-11-19 15:42:19 (GMT)
commitc5c9286804e38c95fe717f22ce1bf2f18eee5b17 (patch)
tree9348152398bcf83887696e82d57e5b4cb04fb8dd /Lib/test/support
parent5fcc3a4cee76ab9bef4c2a76b0f5591cf576e2bf (diff)
downloadcpython-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.py3
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