Skip to content

Conversation

LukasVik
Copy link
Contributor

Previously the method was returned rather than a boolean. So doing

if vunit_proj.simulator_supports_coverage():
    ...

in run.py would always evaluate as True.

supports_coverage is a static method or a class method in all the simulator interfaces. Never a property.

Previously the method was returned rather than a boolean. So doing "vunit_proj.simulator_supports_coverage()" in run.py would always evaluate as True.
@eine eine changed the title Call supports_coverage() rather than returning method object call supports_coverage() rather than returning method object Mar 31, 2020
@eine eine merged commit 15669a9 into VUnit:master Mar 31, 2020
@eine
Copy link
Collaborator

eine commented Mar 31, 2020

Thanks!

@LukasVik LukasVik deleted the coverage_call_method branch October 1, 2020 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants