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

Fix duplicate test methods #3039

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Fix duplicate test methods #3039

merged 1 commit into from
Oct 11, 2024

Conversation

emmanuel-ferdman
Copy link
Contributor

PR Summary

PR handles duplicate test methods in pymnn/test/unit_test.py:

  • test_less - two methods with same name and same logic - one of them removed.
  • test_normalize - two methods with same name and different logic - one was renamed.
  • test_resize - two methods with same name and different logic - one was renamed.
  • test_split - two methods with same name and different logic - one was renamed.

The test_histogram method is duplicated as well, but the second instance compares the results of cv.calcHist and cv2.calcHist. These two methods, despite their similar purpose, return significantly different results, making the comparison problematic. Further investigation is needed to understand and reconcile these differences, but no renaming or removal has been applied for now.

Signed-off-by: Emmanuel Ferdman <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Sep 27, 2024

CLA assistant check
All committers have signed the CLA.

@jxt1234 jxt1234 merged commit f830294 into alibaba:master Oct 11, 2024
4 checks passed
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.

3 participants