Skip to content

[3.7] bpo-33723: Fix test_time.test_process_time() (GH-8358)#8362

Merged
vstinner merged 1 commit into
python:3.7from
miss-islington:backport-e78dace-3.7
Jul 21, 2018
Merged

[3.7] bpo-33723: Fix test_time.test_process_time() (GH-8358)#8362
vstinner merged 1 commit into
python:3.7from
miss-islington:backport-e78dace-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 21, 2018

Copy link
Copy Markdown
Contributor

The test failed on my laptop because the busy loop took 15.9 ms
whereas the test expects at least 20 ms. Modify test_process_time()
as test_thread_time() has been modified recently: only require 15 ms
instead of 20 ms.
(cherry picked from commit e78dace)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue33723

The test failed on my laptop because the busy loop took 15.9 ms
whereas the test expects at least 20 ms. Modify test_process_time()
as test_thread_time() has been modified recently: only require 15 ms
instead of 20 ms.
(cherry picked from commit e78dace)

Co-authored-by: Victor Stinner <vstinner@redhat.com>

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@vstinner vstinner merged commit a7a6eac into python:3.7 Jul 21, 2018
@miss-islington miss-islington deleted the backport-e78dace-3.7 branch July 21, 2018 01:52
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.

4 participants