]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108277: Fix test_os TimerfdTests (#110515)
authorVictor Stinner <vstinner@python.org>
Sun, 8 Oct 2023 11:26:18 +0000 (13:26 +0200)
committerGitHub <noreply@github.com>
Sun, 8 Oct 2023 11:26:18 +0000 (11:26 +0000)
commit7e30821b17b56bb5ed9799f62eb45e448cb52c8e
tree2d2694f9ffa5e6725bf5f5a43ae7c2281bbd6c8d
parentd96a8cdfe201546f6d077fa93953b695c4ea8c59
gh-108277: Fix test_os TimerfdTests (#110515)

* test_timerfd_TFD_TIMER_ABSTIME() and
  test_timerfd_ns_TFD_TIMER_ABSTIME() tolerate a difference of 50 us.
* test_timerfd_negative() checks if os.TFD_TIMER_CANCEL_ON_SET is
  defined.
Lib/test/test_os.py