sim: fix simulation loop when process catches an injected exception.

This commit is contained in:
Wanda 2024-02-06 19:43:47 +01:00 committed by Catherine
parent 15b6068c57
commit f48b8650c4
2 changed files with 14 additions and 8 deletions

View file

@ -685,7 +685,6 @@ class SimulatorIntegrationTestCase(FHDLTestCase):
with self.assertRaisesRegex(TypeError,
r"Received unsupported command 1 from process .+?"):
yield 1
yield Settle()
survived = True
sim.add_process(process)
self.assertTrue(survived)