Skip to content

Commit d693c88

Browse files
committed
Remove monospace font style from HTML table in dataset tests
1 parent 59ff922 commit d693c88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

guidata/tests/unit/test_dataset_to_html.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_simple_dataset_to_html():
7373
assert expected_title in html
7474

7575
# Check table structure
76-
assert '<table border="0" style="font-family: monospace;">' in html
76+
assert '<table border="0">' in html
7777
assert "</table>" in html
7878

7979
# Check item names and values are present
@@ -208,7 +208,6 @@ def test_html_structure_and_styling():
208208
assert "text-align: left" in html
209209
assert "vertical-align: top" in html
210210
assert "padding-left: 10px" in html
211-
assert "font-family: monospace" in html
212211

213212
# Check table structure
214213
assert html.count("<tr>") == html.count("</tr>")

0 commit comments

Comments
 (0)