Skip to content

unittest discovery process not working without .py source files #70668

@stefanseefeld

Description

@stefanseefeld
BPO 26481
Nosy @stefanseefeld, @rbtcollins, @ezio-melotti, @voidspace, @vadmium
Superseder
  • bpo-26859: unittest fails with "Start directory is not importable" when trying to run sourceless tests
  • 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 2016-04-27.08:46:50.914>
    created_at = <Date 2016-03-04.17:09:32.478>
    labels = ['type-bug', 'library']
    title = 'unittest discovery process not working without .py source files'
    updated_at = <Date 2016-04-27.08:46:50.912>
    user = 'https://github.com/stefanseefeld'

    bugs.python.org fields:

    activity = <Date 2016-04-27.08:46:50.912>
    actor = 'martin.panter'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-04-27.08:46:50.914>
    closer = 'martin.panter'
    components = ['Library (Lib)']
    creation = <Date 2016-03-04.17:09:32.478>
    creator = 'stefan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 26481
    keywords = []
    message_count = 4.0
    messages = ['261192', '261707', '261708', '264363']
    nosy_count = 5.0
    nosy_names = ['stefan', 'rbcollins', 'ezio.melotti', 'michael.foord', 'martin.panter']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'test needed'
    status = 'closed'
    superseder = '26859'
    type = 'behavior'
    url = 'https://bugs.python.org/issue26481'
    versions = []

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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