GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tests raising StopIteration break pytest/pluggy · Issue #12929 · pytest-dev/pytest

tests raising StopIteration break pytest/pluggy #12929

New issue
Copy link
New issue
Copy link
Closed
#12934
Closed
tests raising StopIteration break pytest/pluggy#12929
#12934
Copy link
Assignees
RonnyPfannschmidt
Labels
type: bugproblem that needs to be addressed
Milestone
8.4

Description

@RonnyPfannschmidt
RonnyPfannschmidt
opened on Oct 31, 2024
Issue body actions

i just found that in a testsuite

i already fixed pluggy via pytest-dev/pluggy#545

however afterwards i learned that yield from creates a barrier for the error handling implemented for that

at least https://github.com/pytest-dev/pytest/blame/main/src/_pytest/unraisableexception.py#L89-L100 uses yield from

in those cases the RuntimeError escapes into the generator and cannot be handled correctly anymore

the correct solution would be a contextmanager
pytest --lf -p no:unraisableexception -p no:threadexception -p no:loggingis currently needed for me to have it work

each of the disabled plugins uses yield from in hook wrappers

Activity

  1. RonnyPfannschmidt
    self-assigned this
    on Nov 2, 2024
  2. RonnyPfannschmidt
    added this to the 8.4 milestone on Nov 12, 2024
  3. Zac-HD
    added
    type: bugproblem that needs to be addressed
    on Dec 24, 2024
  4. graingert
    closed this as completedin #12934on May 31, 2025
  5. luketainton
    added a commit that references this issue on Jan 5, 2026

    chore(deps): update dependency pytest to v9 (#305)

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

Metadata

Metadata

Assignees

  • @RonnyPfannschmidt
    RonnyPfannschmidt

Labels

type: bugproblem that needs to be addressed

Type

No type

Projects

No projects

    Milestone

    • 8.4

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.