Skip to content

TestLoader.loadTestsFromName swallows import errors #51808

@rbtcollins

Description

@rbtcollins
BPO 7559
Nosy @brettcannon, @rbtcollins, @mcepl, @ezio-melotti, @bitdancer, @voidspace, @cjerdonek, @Julian, @ericsnowcurrently, @berkerpeksag, @zware, @timgraham
Files
  • issuee7559_trunk_patch.diff: Patch against trunk (work in progress)
  • issuee7559_trunk_patch.diff: Patch against trunk, adds new unittest.
  • _patch-7559-2.diff: Patch against trunk (work in progress)
  • _patch-7559-3.diff: Patch against trunk (needs review)
  • _patch-7559-4-unittests.diff: Candidate unit tests (4 tests)
  • _patch-7559-5.diff: Patch against trunk (minor clean-up needed)
  • alternate_import_fix.patch
  • _patch-7559-6.diff: Requesting review
  • unittest_loader_import_error.patch
  • issue7559.patch: Obsolete
  • issue7559.patch
  • issue7559.patch
  • issue7559.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 = 'https://github.com/voidspace'
    closed_at = <Date 2014-10-29.19:29:09.736>
    created_at = <Date 2009-12-21.21:07:15.519>
    labels = ['easy', 'type-bug', 'library']
    title = 'TestLoader.loadTestsFromName swallows import errors'
    updated_at = <Date 2016-01-11.16:39:58.962>
    user = 'https://github.com/rbtcollins'

    bugs.python.org fields:

    activity = <Date 2016-01-11.16:39:58.962>
    actor = 'mcepl'
    assignee = 'michael.foord'
    closed = True
    closed_date = <Date 2014-10-29.19:29:09.736>
    closer = 'python-dev'
    components = ['Library (Lib)']
    creation = <Date 2009-12-21.21:07:15.519>
    creator = 'rbcollins'
    dependencies = []
    files = ['15686', '15728', '16759', '16796', '16819', '16822', '16829', '16862', '25790', '36578', '36974', '37002', '37045']
    hgrepos = []
    issue_num = 7559
    keywords = ['patch', 'easy']
    message_count = 60.0
    messages = ['96770', '96774', '96777', '96787', '96788', '96789', '96790', '96891', '96956', '97180', '97457', '97462', '101867', '102236', '102356', '102519', '102550', '102554', '102603', '102621', '102638', '102643', '102708', '102719', '102801', '140187', '140297', '140328', '158911', '158920', '158921', '162101', '162190', '162212', '162239', '162241', '162264', '162265', '162266', '162272', '185310', '185328', '185329', '221984', '221985', '226614', '226616', '226633', '226658', '226663', '226666', '226667', '229705', '229911', '230104', '230234', '230557', '230565', '230734', '244687']
    nosy_count = 18.0
    nosy_names = ['brett.cannon', 'rbcollins', 'vila', 'mcepl', 'iElectric', 'ezio.melotti', 'r.david.murray', 'michael.foord', 'slmnhq', 'chris.jerdonek', 'BreamoreBoy', 'Julian', 'python-dev', 'eric.snow', 'alexgarel', 'berker.peksag', 'zach.ware', 'Tim.Graham']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7559'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    Labels

    easystdlibStandard 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