Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call supports_coverage() rather than returning method object #638

Merged
merged 1 commit into from
Mar 31, 2020
Merged

call supports_coverage() rather than returning method object #638

merged 1 commit into from
Mar 31, 2020

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