Allow passing DocTestRunner and DocTestCase in doctest

Offen
#43,657 10 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
testing-qa

Rechercherichtung

Start by reviewing the linked PR gh-133203 and the attached doctest-configuration.diff, doctest-configuration-1.diff, and test.patch files. Then inspect the doctest DocTestSuite, DocTestRunner, and DocTestCase entry points; done means the requested runner and case customization is supported with coverage for the behavior described by the patches.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib tests type-feature
BPO 1521051
Nosy @asvetlov, @freakboy3742, @cjerdonek, @MaxwellDupre
Files
  • doctest-configuration.diff: Patch to allow extra customization of DocTestSuite
  • doctest-configuration-1.diff
  • test.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 2006-07-12.08:47:04.000>
    labels = ['easy', 'type-feature', 'library']
    title = 'Allow passing DocTestRunner and DocTestCase in doctest'
    updated_at = <Date 2022-01-21.17:35:46.293>
    user = 'https://bugs.python.org/freakboy'
    

    bugs.python.org fields:

    activity = <Date 2022-01-21.17:35:46.293>
    actor = 'mikecmcleod'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2006-07-12.08:47:04.000>
    creator = 'freakboy'
    dependencies = []
    files = ['7393', '29714', '31059']
    hgrepos = []
    issue_num = 1521051
    keywords = ['patch', 'easy']
    message_count = 9.0
    messages = ['50676', '50677', '116170', '116222', '170529', '186204', '186577', '193803', '411160']
    nosy_count = 8.0
    nosy_names = ['collinwinter', 'freakboy', 'asvetlov', 'freakboy3742', 'chris.jerdonek', 'Kostyantyn.Leschenko', 'jasonamyers', 'mikecmcleod']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1521051'
    versions = ['Python 3.4']
    

    Linked PRs
    • gh-133203
    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.