Skip to content

unittest fails with "Start directory is not importable" when trying to run sourceless tests #71046

@xdegaye

Description

@xdegaye
mannequin
BPO 26859
Nosy @rbtcollins, @Fak3, @vadmium
Files
  • unittest.patch
  • unittest_2.patch: with a test case
  • unittest_3.patch
  • 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 = None
    created_at = <Date 2016-04-26.13:42:17.449>
    labels = ['tests', 'type-bug', 'library']
    title = 'unittest fails with "Start directory is not importable" when trying to run sourceless tests'
    updated_at = <Date 2019-12-10.08:16:01.494>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2019-12-10.08:16:01.494>
    actor = 'xdegaye'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Tests']
    creation = <Date 2016-04-26.13:42:17.449>
    creator = 'xdegaye'
    dependencies = []
    files = ['42611', '42646', '43507']
    hgrepos = []
    issue_num = 26859
    keywords = ['patch']
    message_count = 7.0
    messages = ['264283', '264338', '264361', '264431', '264472', '268918', '269055']
    nosy_count = 4.0
    nosy_names = ['rbcollins', 'Roman.Evstifeev', 'martin.panter', 'Pam.McANulty']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26859'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      No status

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions