Skip to content

Conversation

@antznette1
Copy link

In respect to your suggestion, @rhshadrach:

I’ve rebased this branch on main so it now includes the parametrized autofilter tests in TestExcelWriter in test_writers.py. To avoid duplicated coverage:

  • To avoid duplicated coverage:
    • I kept the engine-specific files (test_openpyxl.py, test_xlsxwriter.py) free of any autofilter tests.
    • I moved the additional autofilter edge cases I had (empty DataFrame, single row, single column, header=False) into TestExcelWriter as parametrized tests over engine.

This way, all shared autofilter behavior is tested once, in the parametrized suite, and any future engines will automatically get this coverage.

This PR replaces #62928

@rhshadrach
Copy link
Member

Thanks @antznette1 - agreed the test cases adding here look good. Looks like they are failing though.

@rhshadrach rhshadrach added IO Excel read_excel, to_excel Needs Tests Unit test(s) needed to prevent regressions labels Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

IO Excel read_excel, to_excel Needs Tests Unit test(s) needed to prevent regressions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants