Skip to content

doctest.testmod(empty_package) raises TypeError in 3.7 (and no errors in 3.6) #80587

Description

@Dutcho
mannequin
BPO 36406
Nosy @warsaw, @brettcannon, @Dutcho, @tirkarthi
PRs
  • bpo-36406: Handle namespace packages in doctest #12520
  • bpo-36406: Handle namespace packages in doctest #12520
  • [3.8] bpo-36406: Handle namespace packages in doctest (GH-12520) #17591
  • [3.7] bpo-36406: Handle namespace packages in doctest (GH-12520) #17592
  • 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 2019-12-13.23:38:43.633>
    created_at = <Date 2019-03-23.11:54:24.504>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'doctest.testmod(empty_package) raises TypeError in 3.7 (and no errors in 3.6)'
    updated_at = <Date 2019-12-13.23:38:43.632>
    user = 'https://github.com/Dutcho'

    bugs.python.org fields:

    activity = <Date 2019-12-13.23:38:43.632>
    actor = 'xtreak'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-12-13.23:38:43.633>
    closer = 'xtreak'
    components = ['Library (Lib)']
    creation = <Date 2019-03-23.11:54:24.504>
    creator = 'Dutcho'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36406
    keywords = ['patch', 'patch']
    message_count = 7.0
    messages = ['338670', '338676', '338679', '356169', '358348', '358365', '358366']
    nosy_count = 5.0
    nosy_names = ['barry', 'brett.cannon', 'Dutcho', 'xtreak', 'larabrian']
    pr_nums = ['12520', '12520', '17591', '17592']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36406'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions