summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/extmod/select_poll_fd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/extmod/select_poll_fd.py b/tests/extmod/select_poll_fd.py
index 3677ab571..3f7b5aa73 100644
--- a/tests/extmod/select_poll_fd.py
+++ b/tests/extmod/select_poll_fd.py
@@ -35,7 +35,8 @@ poller.register(1, select.POLLIN)
print(poller.poll(0))
# Test registering a very large number of file descriptors (will trigger
-# EINVAL due to more than OPEN_MAX fds).
+# EINVAL due to more than OPEN_MAX fds). Typically it's 1024 (and on GitHub CI
+# we force this via `ulimit -n 1024`).
poller = select.poll()
for fd in range(6000):
poller.register(fd)