Skip to content

Pytests in forked mode not calling global object destructors on process exit #13378

Answered by RonnyPfannschmidt
crupsa asked this question in Q&A
Discussion options

You must be logged in to vote

Its not recommended to use forked

It basically calls fork mid testrun copying the setupstate to the new procedure

Then it runs a single test there amd exits

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@crupsa
Comment options

@RonnyPfannschmidt
Comment options

Answer selected by crupsa
@crupsa
Comment options

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