Skip to content

test_embed skipped when srcdir != builddir #78436

Description

@ronaldoussoren
BPO 34255
Nosy @ronaldoussoren, @vstinner
PRs
  • bpo-34255: Ensure that test.test_embed works when blddir != srcdir #8528
  • 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 2018-07-28.09:23:42.599>
    labels = ['3.7', '3.8', 'type-bug', 'tests']
    title = 'test_embed skipped when srcdir != builddir'
    updated_at = <Date 2019-05-15.02:33:12.904>
    user = 'https://github.com/ronaldoussoren'

    bugs.python.org fields:

    activity = <Date 2019-05-15.02:33:12.904>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2018-07-28.09:23:42.599>
    creator = 'ronaldoussoren'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34255
    keywords = ['patch']
    message_count = 1.0
    messages = ['322531']
    nosy_count = 2.0
    nosy_names = ['ronaldoussoren', 'vstinner']
    pr_nums = ['8528']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34255'
    versions = ['Python 3.7', 'Python 3.8']

    Activity

    1. ronaldoussoren commented on Jul 28, 2018

      @ronaldoussoren
      ContributorAuthor

      The testsuite skips test_embed when srcdir != builddir, that's because test.test_embed assumes that _testembed is in the source directory.

      I noticed this while working on bpo-34247.

    2. transferred this issue fromon Apr 10, 2022
    3. neonene commented on Jun 18, 2022

      @neonene
      Contributor

      This issue is now fixed by 96464e5 (3.12 main) and 79d2269 (3.11).
      Thanks.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifetestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions