-
Notifications
You must be signed in to change notification settings - Fork 117
[feat] Renamemake_deferrable() to defer() and make it publicly available along with evaluate()
#1050
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
[feat] Renamemake_deferrable() to defer() and make it publicly available along with evaluate()
#1050
Conversation
- `make_deferrable()` is renamed to `defer()` and is moved inside `reframe.utility.sanity`. - `evaluate()` is moved inside `reframe.utility.sanity` - The old functions are deprecated. - Functions are now publicly visible and documentation is updated. - Tests that were making use of them are adapted.
|
Hello @vkarak, Thank you for updating! Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide Comment last updated at 2019-11-22 09:42:50 UTC |
make_deferrable() to defer() and make it publicly available along with evaluate()
Codecov Report
@@ Coverage Diff @@
## master #1050 +/- ##
==========================================
- Coverage 91.97% 91.97% -0.01%
==========================================
Files 81 81
Lines 10984 10982 -2
==========================================
- Hits 10103 10101 -2
Misses 881 881
Continue to review full report at Codecov.
|
reframe/utility/sanity.py
Outdated
| This decorator is an alias to the :func:`reframe.core.deferrable.deferrable` | ||
| decorator. | ||
| The following function definition is equivalent to the above: | ||
| <The following function definition is equivalent to the above: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the < needed?
make_deferrable()is renamed todefer()and is moved insidereframe.utility.sanity.evaluate()is moved insidereframe.utility.sanityFixes #1038.