Skip to content

Lib/test/lock_tests.py should not use time.time(), but time.monotonic() #79694

Description

@vstinner
BPO 35513
Nosy @vstinner, @pablogsal, @miss-islington
PRs
  • bpo-35513, unittest: TextTestRunner uses time.perf_counter() #11180
  • bpo-35513: Replace time.time() with time.monotonic() in tests #11182
  • [3.7] bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182) #11185
  • [3.7] bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180) #11188
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-12-17.10:54:06.897>
    created_at = <Date 2018-12-16.22:05:49.526>
    labels = ['3.8', 'tests']
    title = 'Lib/test/lock_tests.py should not use time.time(), but time.monotonic()'
    updated_at = <Date 2018-12-17.10:54:06.896>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2018-12-17.10:54:06.896>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-12-17.10:54:06.897>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2018-12-16.22:05:49.526>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35513
    keywords = ['patch']
    message_count = 6.0
    messages = ['331939', '331951', '331954', '331968', '331975', '331976']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'pablogsal', 'miss-islington']
    pr_nums = ['11180', '11182', '11185', '11188']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue35513'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifetestsTests in the Lib/test dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions