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 test_handle_nan sort error #12

Merged
merged 3 commits into from
May 11, 2023
Merged

Conversation

ly-kolena
Copy link
Contributor

@ly-kolena ly-kolena commented May 10, 2023

Linked issue(s):

What change does this PR introduce and why?

Fix sort order caused test equality check failure

Please check if the PR fulfills these requirements

  • Include reference to internal ticket and/or GitHub issue "Fixes #NNNN" (if applicable)
  • Relevant tests for the changes have been added
  • Relevant docs have been added / updated

@ly-kolena ly-kolena requested a review from gordonhart May 11, 2023 02:22
@codecov
Copy link

codecov bot commented May 11, 2023

Codecov Report

Merging #12 (6127ab3) into trunk (2b42046) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            trunk      #12   +/-   ##
=======================================
  Coverage   85.52%   85.52%           
=======================================
  Files          93       93           
  Lines        5865     5865           
  Branches      640      640           
=======================================
  Hits         5016     5016           
  Misses        767      767           
  Partials       82       82           

assert test_suite.description == new_description # not updated or cleared
assert test_suite.baseline_test_cases == [multi_version_test_case[1]]

with test_suite.edit(reset=True) as editor:
editor.add(multi_version_test_case[2], True)
assert test_suite.version == 4
assert test_suite.version == 3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing these. I'll reconcile the not-quite-equivalent changes I've made on #7 in a rebase

@ly-kolena ly-kolena merged commit 6d4582c into trunk May 11, 2023
@ly-kolena ly-kolena deleted the liuyuan/fix-handle-nan-test branch May 11, 2023 14:11
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