STINNER Victor <vstin...@redhat.com> added the comment:
The following test failed: # thread_time() should include CPU time spent in current thread... start = time.thread_time() busy_wait(0.100) stop = time.thread_time() self.assertGreaterEqual(stop - start, 0.020) # machine busy? def busy_wait(duration): deadline = time.monotonic() + duration while time.monotonic() < deadline: pass Do we really have to have functional tests on Python block functions? These tests seem very fragile... I proposed the PR 8265 to remove these fragile tests. I chose to keep time.process_time() functional test. We can remove it later if it starts failing on a buildbot. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33723> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com