-
-
Notifications
You must be signed in to change notification settings - Fork 839
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
Drop private imports from test_decoders.py #2570
Conversation
decoder = TextChunker(chunk_size=3) | ||
assert decoder.decode("123456") == ["123", "456"] | ||
assert decoder.decode("78") == [] | ||
assert decoder.flush() == ["78"] |
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.
Most of these cases we actually already well covered in test_responses.py
, so I figured I'd expand those a bit to match coverage, and drop these.
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.
Good stuff. I notice that this change will conflict with #2423.
Any opinion on which of those two PRs we should merge first?
Does the new GitHub feature (merge queue) helps here? |
I'm happy to update this once #2423 is merged 😃 |
okay - this one needs updating now. |
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.
Nicely done, thanks!
I've resolved the merge conflicts and we're good to go on this now.
Another contribution towards #2492