This issue occurs when running tests that load an external library using ctypes.
If there's an early process termination inside the loaded library, we expect this test to fail.
This is indeed what happens when nose is executed in single-process mode.
However, when the same test is executed in multiprocess mode, the test hangs until it's timed out and then it's considered passed.
This issue occurs when running tests that load an external library using ctypes. If there's an early process termination inside the loaded library, we expect this test to fail. This is indeed what happens when nose is executed in single-process mode. However, when the same test is executed in multiprocess mode, the test hangs until it's timed out and then it's considered passed.
Example:
test.py
:Test fails when running:
python -m nose test.py
but passes when running:python -m nose test.py -processes=2