sim: fix simulation loop when process catches an injected exception.
This commit is contained in:
parent
15b6068c57
commit
f48b8650c4
2 changed files with 14 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue