Add tests for ``from ... import ...` code

Offen
#69,034 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Start by reading the linked bpo-24492 dependency and the existing CPython interpreter-core tests for from ... import ... behavior. Identify the uncovered cases described by the issue, then add regression tests and run the relevant interpreter-core test suite; done means the intended import paths are covered and the tests pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

interpreter-core tests type-feature
BPO 24846
Nosy @brettcannon, @arigo, @ericsnowcurrently, @nanjekyejoannah
Dependencies
  • bpo-24492: using custom objects as modules: AttributeErrors new in 3.5
  • 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 2015-08-12.01:09:47.564>
    labels = ['interpreter-core']
    title = 'Add tests for ``from ... import ...` code'
    updated_at = <Date 2019-07-02.14:44:36.769>
    user = 'https://github.com/brettcannon'
    

    bugs.python.org fields:

    activity = <Date 2019-07-02.14:44:36.769>
    actor = 'nanjekyejoannah'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2015-08-12.01:09:47.564>
    creator = 'brett.cannon'
    dependencies = ['24492']
    files = []
    hgrepos = []
    issue_num = 24846
    keywords = []
    message_count = 1.0
    messages = ['248435']
    nosy_count = 4.0
    nosy_names = ['brett.cannon', 'arigo', 'eric.snow', 'nanjekyejoannah']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue24846'
    versions = ['Python 3.6']
    

    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.