From 8a731a80950e0ee6147c8fe4df100da2fc955140 Mon Sep 17 00:00:00 2001 From: Lekcyjna <309016@uwr.edu.pl> Date: Wed, 6 Mar 2024 17:48:49 +0100 Subject: [PATCH] Fix the pysim regression. --- test/regression/test_regression.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/regression/test_regression.py b/test/regression/test_regression.py index 220b6b2d5..ec5d33a9e 100644 --- a/test/regression/test_regression.py +++ b/test/regression/test_regression.py @@ -91,6 +91,8 @@ def verilate_model(worker_id, request: pytest.FixtureRequest): distributed, cocotb, mode. It executes a 'SKIP' regression test which verilates the model. """ if request.session.config.getoption("coreblocks_backend") != "cocotb" or worker_id == "master": + # pytest expect yield on every path in fixture + yield None return lock_path = "_coreblocks_regression.lock"