Skip to content

TST: Increase test coverage for pandas.io.formats.excel.py #61697

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

lsgordon
Copy link

Sorry for the appauling number of commits. Git was being unkind, and I accidentally pushed .venv/ to gitignore, which then when I tried to revert, would reinclude the venv on the commit, you get the picture. It won't happen again.

The purpose of this PR is to add some test coverage to the first class of pandas.io.formats.excel.py, in the CSSToExcelConverter class. This class is missing some coverage, and there were a few unused functions and lines of code that were also causing some code coverage problems, so they have been dealt with.
Screenshot 2025-06-23 at 6 58 27 PM

Screenshot 2025-06-23 at 6 59 14 PM Screenshot 2025-06-23 at 6 59 24 PM

These screenshots show the areas I am adding coverage too.

@simonjayhawkins simonjayhawkins added Testing pandas testing functions or related to the test suite IO Excel read_excel, to_excel labels Jun 25, 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 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