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

TST/CLN: engine fixture for tests/io/excel/test_readers.py #27139

Merged
merged 1 commit into from
Jun 30, 2019

Conversation

simonjayhawkins
Copy link
Member

fixture for todos from #27114

use of safe_import in pytest.param #26735 (comment) #26784

cc @WillAyd

@simonjayhawkins simonjayhawkins added Testing pandas testing functions or related to the test suite IO Excel read_excel, to_excel Clean labels Jun 30, 2019
Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

Nice refactor

@@ -224,7 +224,7 @@ def test_read_excel_parse_dates(self, ext):
class _WriterBase:
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't need to be done here but we can probably get rid of this class altogether since it only contains the fixture. I also think it is better to use partials instead of setting global settings (we do this on the reading side) so something to look at in the future if you are interested in closing #27096

@WillAyd WillAyd added this to the 0.25.0 milestone Jun 30, 2019
@WillAyd WillAyd merged commit b491329 into pandas-dev:master Jun 30, 2019
@simonjayhawkins simonjayhawkins deleted the remove_todo_test_readers branch June 30, 2019 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean IO Excel read_excel, to_excel Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants