Skip to content

doctest.DocTestCase fails when run repeatedly #46856

@PiDelport

Description

@PiDelport
mannequin
BPO 2604
Nosy @mgedmin, @amauryfa, @PiDelport, @JelleZijlstra, @miss-islington, @iritkatriel, @DanielNoord
PRs
  • bpo-2604: Make DocTestCase reset globs in teardown #31932
  • [3.9] bpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932) #32057
  • [3.10] bpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932) #32058
  • Files
  • reset_globs.patch: Zope's fix, plus a test docstring tweak
  • 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 2022-03-23.02:02:51.156>
    created_at = <Date 2008-04-10.03:40:45.799>
    labels = ['easy', 'type-bug', '3.9', '3.10', '3.11', 'library']
    title = 'doctest.DocTestCase fails when run repeatedly'
    updated_at = <Date 2022-03-29.09:00:00.014>
    user = 'https://github.com/PiDelport'

    bugs.python.org fields:

    activity = <Date 2022-03-29.09:00:00.014>
    actor = 'PiDelport'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-23.02:02:51.156>
    closer = 'JelleZijlstra'
    components = ['Library (Lib)']
    creation = <Date 2008-04-10.03:40:45.799>
    creator = 'PiDelport'
    dependencies = []
    files = ['10060']
    hgrepos = []
    issue_num = 2604
    keywords = ['patch', 'easy']
    message_count = 15.0
    messages = ['65285', '65286', '65335', '65339', '65344', '65345', '65346', '167696', '415090', '415339', '415812', '415817', '415818', '415849', '416248']
    nosy_count = 9.0
    nosy_names = ['jamesh', 'mgedmin', 'amaury.forgeotdarc', 'PiDelport', 'python-dev', 'JelleZijlstra', 'miss-islington', 'iritkatriel', 'danielnoord']
    pr_nums = ['31932', '32057', '32058']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2604'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifeeasystdlibStandard 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