TST: Subclasses of ExcelWriter should not be allowed to add new public attributes #49602
Labels
API - Consistency
Internal Consistency of API/Behavior
IO Excel
read_excel, to_excel
Needs Tests
Unit test(s) needed to prevent regressions
Ref: #48577
I think subclasses of ExcelWriter (e.g. XlsxWriter) should not be allowed to add any public attributes so that the attributes accessible by users are independent of the engine being used. This appears to currently be the case, and to ensure it remains that way, I think we should add tests for each subclass that would fail if any additional public attributes are added.
The text was updated successfully, but these errors were encountered: