Steve Dower added the comment:
The only real advantage of adding a native unit testing framework here is to
avoid having to start/destroy _testembed[.exe] multiple times during the test
run. But given the nature of these tests is highly environmental, I don't think
we can reasonably avoid it.
Brett Cannon added the comment:
Someone is going to think of [googletest]
(https://github.com/google/googletest) and then realize that it is a C++ test
suite and thus won't work unless you explicitly compile Python for C++.
--
nosy: +brett.cannon
New submission from Nick Coghlan:
Programs/_testembed (invoked by test_capi to test CPython's embedding support)
is currently a very simple application with only two different embedding tests:
https://hg.python.org/cpython/file/tip/Programs/_testembed.c
In light of proposals like PEP 432 to