How can I run pytest.main()
multiple times from within an embedded Python environment?
#12453
-
As discussed in #3143, running Unfortunately, that's not so simple for me. I'm trying to use I would use the I also considered the Does anyone have ideas on how I could proceed? The list of test modules will be fairly small and known statically. Perhaps, I could manually reload those files before calling |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
From some testing this afternoon, I believe I can simply call If that's all I need, then I can close this discussion. But I'm a little worried about what, if any, interaction there is between this issue and #12454. I'll leave this issue open until I resolve the other. |
Beta Was this translation helpful? Give feedback.
Manually reloading the modules seems to be a solution. It's not ideal, but it works for me.