To excel storage options fix
- [ ] closes #46381  
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Hello @ben-feldstein! Thanks for opening this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:



* In the file [`pandas/tests/io/formats/test_to_excel.py`](https://github.com/pandas-dev/pandas/blob/c488b3a7f856395d6b52e085bf5dfe34b5188184/pandas/tests/io/formats/test_to_excel.py):

> [Line 346:1](https://github.com/pandas-dev/pandas/blob/c488b3a7f856395d6b52e085bf5dfe34b5188184/pandas/tests/io/formats/test_to_excel.py#L346): [E303](https://duckduckgo.com/?q=pep8%20E303) too many blank lines (3)
> [Line 353:5](https://github.com/pandas-dev/pandas/blob/c488b3a7f856395d6b52e085bf5dfe34b5188184/pandas/tests/io/formats/test_to_excel.py#L353): [E722](https://duckduckgo.com/?q=pep8%20E722) do not use bare 'except'
> [Line 354:60](https://github.com/pandas-dev/pandas/blob/c488b3a7f856395d6b52e085bf5dfe34b5188184/pandas/tests/io/formats/test_to_excel.py#L354): [W292](https://duckduckgo.com/?q=pep8%20W292) no newline at end of file

 duplicate of #46491 