Skip to content

Commit dbdbf1c

Browse files
committed
Fix the test.
1 parent 647a320 commit dbdbf1c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_endtoend.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,10 @@ def test_tabs():
618618
svg = f.read()
619619

620620
# Tabs are still there:
621-
assert ">\tarr1, arr2 = make_".replace(" ", "\u00a0") in svg
621+
assert (
622+
">\tarr1, arr2 = make_".replace(" ", "\u00a0").replace("\t", "\u00a0" * 8)
623+
in svg
624+
)
622625

623626
# It's valid XML:
624627
ElementTree.fromstring(svg)

0 commit comments

Comments
 (0)