Skip to content

How can I run pytest.main() multiple times from within an embedded Python environment? #12453

Discussion options

You must be logged in to vote

Manually reloading the modules seems to be a solution. It's not ideal, but it works for me.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bradleyharden
Comment options

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