Skip to content

Commit f734b22

Browse files
committed
test: remove old absolute path test
1 parent 1aff43f commit f734b22

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

tests/test_pdf.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,3 @@ def test_convert_svg_to_pdf_invalid_svg(tmp_path: Path) -> None:
231231
convert_svg_to_pdf(svg_file, output_file)
232232
assert "no element found" in str(exc_info.value)
233233
assert not output_file.exists()
234-
abs_svg = Path("/tmp/test.svg")
235-
abs_svg.write_text(
236-
'<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">'
237-
'<rect width="100" height="100" fill="red"/></svg>',
238-
encoding="utf-8",
239-
)
240-
abs_output = Path("/tmp/output.pdf")
241-
convert_svg_to_pdf(abs_svg, abs_output)
242-
assert abs_output.exists() and abs_output.stat().st_size > 0

0 commit comments

Comments
 (0)