-
Notifications
You must be signed in to change notification settings - Fork 506
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
Remove duplicate tests #890
Conversation
@@ -180,7 +182,7 @@ def test_ybd(self): | |||
assert res == actual | |||
|
|||
|
|||
class TestInputFormats(object): | |||
class TestInputTypes(object): |
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.
Why Types
instead of Formats
?
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.
Because whats being tested here is different types: bytes vs unicode vs bytearray vs StringIO...
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.
Ah, I was a bit thrown by the fact that the first test is just an empty string. I see now.
Looks like no rebase needed. |
@jbrockmendel Can you add a changelog? |
done |
Since all the TestInputFormats tests are about different input *types*, TestInputTypes is a more descriptive name.
Add a check so that duplicates don't sneak back in.
Rename TestInputFormats to the more accurate TestInputTypes.
A couple more test-cleanup PRs coming up (one with an actual bugfix), trying to keep them small and orthogonal.