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

Annotator runner test doesn't consider order of items #552

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Conversation

bkorycki
Copy link
Contributor

@bkorycki bkorycki commented Oct 2, 2024

This fixes the failing python 3.12 test.

@bkorycki bkorycki requested a review from a team as a code owner October 2, 2024 17:42
Copy link

github-actions bot commented Oct 2, 2024

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

Copy link
Contributor

@wpietri wpietri left a comment

Choose a reason for hiding this comment

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

I like where you're going, and if you've tested this I guess it works, but I'm skeptical, as I'm not sure what asserting that something is in an iterator means. I think it's probably clearer to read in all the items and then do the assert in on a list of things.

@bkorycki
Copy link
Contributor Author

bkorycki commented Oct 2, 2024

@wpietri Updated!

@bkorycki bkorycki merged commit 5419ab5 into main Oct 2, 2024
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants