We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aff43f commit f734b22Copy full SHA for f734b22
1 file changed
tests/test_pdf.py
@@ -231,12 +231,3 @@ def test_convert_svg_to_pdf_invalid_svg(tmp_path: Path) -> None:
231
convert_svg_to_pdf(svg_file, output_file)
232
assert "no element found" in str(exc_info.value)
233
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