-
-
Notifications
You must be signed in to change notification settings - Fork 617
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
cov: add tests for ignite.metrics #1816
Conversation
@@ -478,16 +478,6 @@ def __mod__(self, other: Any) -> "MetricsLambda": | |||
|
|||
return MetricsLambda(lambda x, y: x % y, self, other) | |||
|
|||
def __div__(self, other: Any) -> "MetricsLambda": |
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.
These are only applicable to py2 : test
else: | ||
raise ValueError(f"multiref : wrong value (got : {self._multiref})") |
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.
This is no need to catch. The same error has been caught above.
@ydcjeff, just a small though on saving computational resources while merging master to all PRs. When PR is approved we can update it once and then merge and avoid updating all PRs. |
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.
Thanks for the PR @ydcjeff !
Part of #1790
Description: Add tests / Removed unused code for ignite.metrics
Check list: