Objective of pull request:
Unittests were not able to catch exceptions thrown in the runtime service. In this PR, exceptions in the runtime service are passed to the main process such that unittests can catch them. This PR enables tests involving unittest.assertRaises
Pull request checklist
Your PR fulfills the following requirements:
[x] Issue created that explains the change and why it's needed
[x] Tests are part of the PR (for bug fixes / features)
[x] Docs reviewed and added / updated if needed (for bug fixes / features)
Issue Number: https://github.com/intel-collab/frameworks.ai.lava.lava-loihi/issues/393
Objective of pull request: Unittests were not able to catch exceptions thrown in the runtime service. In this PR, exceptions in the runtime service are passed to the main process such that unittests can catch them. This PR enables tests involving
unittest.assertRaises
Pull request checklist
Your PR fulfills the following requirements:
flakeheaven lint src/lava tests/
) and (bandit -r src/lava/.
) pass locallypytest
) passes locallyPull request type
Please check your PR type:What is the current behavior?
-
What is the new behavior?
-
Does this introduce a breaking change?
Supplemental information