Skip to content

Plugin raised an exception during an old-style hookwrapper teardown. #130

@jlchereau

Description

@jlchereau

Describe the bug

/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/_pytest/main.py:318: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: 140686202052496, Hook: pytest_sessionfinish
OSError: cannot send (already closed?)
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
  config.hook.pytest_sessionfinish(
Error: The operation was canceled.
Capture d’écran 2024-12-12 à 19 11 25 Source: https://github.com/digillia/Digillia-Colab/actions/runs/12301989332/job/34333793510

To Reproduce

  1. Fork https://github.com/digillia/Digillia-Colab
  2. Execute the Github workflow: https://github.com/digillia/Digillia-Colab/blob/main/.github/workflows/pytest.yaml

Expected behavior
Tests should pass (they do locally)

Additional context
Check https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions