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

Decorator require_numba does not work as expected #90

Closed
santisoler opened this issue Aug 7, 2019 · 0 comments · Fixed by #91
Closed

Decorator require_numba does not work as expected #90

santisoler opened this issue Aug 7, 2019 · 0 comments · Fixed by #91
Assignees
Labels
bug Report a problem that needs to be fixed

Comments

@santisoler
Copy link
Member

Description of the problem

The require_numba decorator for test functions does not work as expected. It decorates the function but the test function itself is not run, so pytest assumes it passed although it has never been run.

This is due to the fact that the function wrapper defined inside require_numba does not run the function passed as argument.

@santisoler santisoler added the bug Report a problem that needs to be fixed label Aug 7, 2019
@santisoler santisoler self-assigned this Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report a problem that needs to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant