You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempted to set the alignment for a header field to the invalid alignment value "rice".
What did you expect to happen?
ValueError: Alignment rice is invalid, use l, c or r. This is what happens when the alignment is set globally and not just for a single field.
What actually happened?
No error message, and the table printed out with the default alignment. If I try to print a formatted html table it crashes with a key error.
It seems like the setter where the value is validated isn't called when assigning a key a value in the align dict.
What did you do?
Attempted to set the alignment for a header field to the invalid alignment value "rice".
What did you expect to happen?
ValueError: Alignment rice is invalid, use l, c or r. This is what happens when the alignment is set globally and not just for a single field.
What actually happened?
No error message, and the table printed out with the default alignment. If I try to print a formatted html table it crashes with a key error.
It seems like the setter where the value is validated isn't called when assigning a key a value in the align dict.
Please include code that reproduces the issue.
The best reproductions
are
self-contained scripts
with minimal dependencies.
This is another small alignment issue I found looking into other alignment related issues like #199, #102 and #111
The text was updated successfully, but these errors were encountered: