Skip to content

Add an option to skip thread-unsafe tests#74

Merged
ngoldbaum merged 4 commits into
Quansight-Labs:mainfrom
ngoldbaum:skip-thread-unsafe
Jun 10, 2025
Merged

Add an option to skip thread-unsafe tests#74
ngoldbaum merged 4 commits into
Quansight-Labs:mainfrom
ngoldbaum:skip-thread-unsafe

Conversation

@ngoldbaum

@ngoldbaum ngoldbaum commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator

Fixes #72.

@lysnikolaou lysnikolaou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just one minor comment.

Comment thread src/pytest_run_parallel/plugin.py Outdated
]
skipped_functions = frozenset((".".join(x[:-1]), x[-1]) for x in skipped_functions)

skip_thread_unsafe = item.config.option.skip_thread_unsafe

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed, right?

@ngoldbaum ngoldbaum merged commit 6c17059 into Quansight-Labs:main Jun 10, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a way to skip tests marked as thread-unsafe

2 participants