Skip to content

gh-110697: test_os TimerfdTests uses selectors #110789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Oct 13, 2023

Replace select.epoll() with selectors.DefaultSelector to support FreeBSD 14 and newer.

  • Merge common code between test_timerfd_epoll() test_timerfd_ns_epoll().
  • Replace "_ = func()" with "func()".
  • Add TimerfdTests.read_count_signaled() method.

Replace select.epoll() with selectors.DefaultSelector to support
FreeBSD 14 and newer.

* Merge common code between test_timerfd_epoll()
  test_timerfd_ns_epoll().
* Replace "_ = func()" with "func()".
* Add TimerfdTests.read_count_signaled() method.
@vstinner
Copy link
Member Author

!buildbot FreeBSD

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @vstinner for commit 574b597 🤖

The command will test the builders whose names match following regular expression: FreeBSD

The builders matched are:

  • AMD64 FreeBSD PR

@vstinner vstinner merged commit 8f07b6e into python:main Oct 13, 2023
@vstinner vstinner deleted the test_timerfd_selector branch October 13, 2023 14:20
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Replace select.epoll() with selectors.DefaultSelector to support
FreeBSD 14 and newer.

* Merge common code between test_timerfd_epoll()
  test_timerfd_ns_epoll().
* Replace "_ = func()" with "func()".
* Add TimerfdTests.read_count_signaled() method.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
Replace select.epoll() with selectors.DefaultSelector to support
FreeBSD 14 and newer.

* Merge common code between test_timerfd_epoll()
  test_timerfd_ns_epoll().
* Replace "_ = func()" with "func()".
* Add TimerfdTests.read_count_signaled() method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants