Skip to content

Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round' #84239

@vstinner

Description

@vstinner
BPO 40058
Nosy @birkenfeld, @abalkin, @vstinner, @ericsnowcurrently, @serhiy-storchaka, @pganssle, @corona10, @shihai1991
PRs
  • bpo-40058: Fix failed test_divide_and_round of test_datetime when run more than … #19213
  • 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 2021-10-01.07:09:47.786>
    created_at = <Date 2020-03-25.01:54:39.990>
    labels = ['tests', '3.9']
    title = "Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'"
    updated_at = <Date 2021-10-01.07:09:47.780>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-10-01.07:09:47.780>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-01.07:09:47.786>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2020-03-25.01:54:39.990>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40058
    keywords = ['patch']
    message_count = 10.0
    messages = ['364970', '364993', '365012', '365018', '365020', '365248', '368273', '372340', '372414', '402994']
    nosy_count = 8.0
    nosy_names = ['georg.brandl', 'belopolsky', 'vstinner', 'eric.snow', 'serhiy.storchaka', 'p-ganssle', 'corona10', 'shihai1991']
    pr_nums = ['19213']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40058'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (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