From 5bf021cf6d972f735cefba1513cb5c96fa05082c Mon Sep 17 00:00:00 2001 From: Lukas Vik <2767848-LukasVik@users.noreply.gitlab.com> Date: Mon, 30 Mar 2020 10:19:12 +0200 Subject: [PATCH] Call supports_coverage() rather than returning method object Previously the method was returned rather than a boolean. So doing "vunit_proj.simulator_supports_coverage()" in run.py would always evaluate as True. --- vunit/ui/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vunit/ui/__init__.py b/vunit/ui/__init__.py index 83e16b331..304d01549 100644 --- a/vunit/ui/__init__.py +++ b/vunit/ui/__init__.py @@ -1108,4 +1108,4 @@ def simulator_supports_coverage(self): """ if self._simulator_class is None: return None - return self._simulator_class.supports_coverage + return self._simulator_class.supports_coverage()