Skip to content

Sleep? #11196

Answered by The-Compiler
kehrazy asked this question in Q&A
Sleep? #11196
Jul 11, 2023 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

I still fail to see how a multi-threaded architecture and an asynchronous sleep come into play. Many of my customers (I give pytest company trainings) test hardware using pytest, and so far I haven't seen a need for this. If you help me understand your use-case, I might be able to give you a better recommendation (perhaps you're looking for something like pytest-asyncio?).

As for making pytest thread-safe, I'd highly recommend opening an issue first and discussing on whether it's a desirable goal at all. Personally, I think the additional complexity costs by far outweigh the (very limited) use-cases it might be needed for.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kehrazy
Comment options

@The-Compiler
Comment options

@kehrazy
Comment options

@The-Compiler
Comment options

Answer selected by kehrazy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants