Skip to content

Commit 9bc5fad

Browse files
committed
Whitespace changes (whoops)
1 parent d02d94e commit 9bc5fad

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/tests/io/formats/test_to_excel.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"border-top-style: solid; border-top-width: 4pt",
157157
{"border": {"top": {"style": "thick"}}},
158158
),
159-
(
159+
(
160160
"border-top-style: solid; border-top-width: none",
161161
{"border": {"top": {"style": "none"}}},
162162
),
@@ -206,8 +206,6 @@
206206
"border-top-style: slantDashDot; border-top-color: blue",
207207
{"border": {"top": {"style": "slantDashDot", "color": "0000FF"}}},
208208
),
209-
210-
211209
# ALIGNMENT
212210
# - horizontal
213211
("text-align: center", {"alignment": {"horizontal": "center"}}),
@@ -270,7 +268,6 @@ def test_css_to_excel_multiple():
270268
"border-style: another-unhandled-style",
271269
],
272270
)
273-
274271
def test_css_to_excel_unhandled_border_style_warns(css):
275272
"""Test that unhandled border styles raise a CSSWarning."""
276273
convert = CSSToExcelConverter()
@@ -358,6 +355,7 @@ def test_css_to_excel_bad_colors(input_color):
358355
convert = CSSToExcelConverter()
359356
assert expected == convert(css)
360357

358+
361359
@pytest.mark.parametrize("input_color", ["#", "#1234567"])
362360
def test_css_to_excel_invalid_color_raises(input_color):
363361
"""Test that invalid colors raise a ValueError."""
@@ -374,6 +372,7 @@ def test_css_to_excel_invalid_color_raises(input_color):
374372
with pytest.raises(ValueError, match=f"Unexpected color {input_color}"):
375373
convert(css)
376374

375+
377376
def tests_css_named_colors_valid():
378377
upper_hexs = set(map(str.upper, string.hexdigits))
379378
for color in CSSToExcelConverter.NAMED_COLORS.values():

0 commit comments

Comments
 (0)