Fix test for Issue#1279
@@ -10,7 +10,7 @@ def test_sim_failure_a(dut):
yield cocotb.triggers.RisingEdge(dut.clk)
-@cocotb.test(stage=2)
+@cocotb.test(expect_error=cocotb.result.SimFailure, stage=2)
def test_sim_failure_b(dut):
yield cocotb.triggers.NullTrigger()
raise cocotb.result.TestFailure("This test should never run")
