Commit aea1643
BUG: CSS strings truncated at ":" (pandas-dev#59720)
* second item in tuple is no longer truncated at first colon
pandas-dev#59623
* added testcase for maybe_convert_css_to_tuples
pandas-dev#59623
* maybe_convert_css_to_tuples() raises on strings without ":"
* fixed implicit str concatination
* Fixed raise on empty string
* Update test_style.py
* attr:; -> ("attr","")
Same behavior as before patch
* add test for "attr:;", ie empty value
* str concatenation in the test broke mypy
* revert explicit str concat
* Invalidarg patch black (#1)
* black test_style
* Update style_render.py
---------
Co-authored-by: Matthew Roeschke <[email protected]>1 parent 7f54bec commit aea1643
File tree
2 files changed
+24
-13
lines changed- pandas
- io/formats
- tests/io/formats/style
2 files changed
+24
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
910 | | - | |
911 | | - | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
| |||
2069 | 2069 | | |
2070 | 2070 | | |
2071 | 2071 | | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
2077 | | - | |
2078 | | - | |
2079 | | - | |
| 2072 | + | |
2080 | 2073 | | |
2081 | 2074 | | |
2082 | 2075 | | |
2083 | | - | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
2084 | 2084 | | |
2085 | 2085 | | |
2086 | 2086 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
889 | 897 | | |
890 | | - | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
891 | 902 | | |
892 | 903 | | |
893 | 904 | | |
| |||
0 commit comments