Could you please explain why the span margin-left is not working in this test code? Did I do something wrong? Please translate this sentence into English." Regarding your question about the margin-left not working, you're correct to notice that. Let me explain why and suggest a solution. #3862
Unanswered
ishidai
asked this question in
Looking for help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
`import unittest
import fitz
import os
class TestPyMuPDFInsertHTMLBox(unittest.TestCase):
def setUp(self):
# 创建一个临时的PDF文件用于测试
self.test_pdf = "test_document.pdf"
doc = fitz.open()
doc.new_page()
doc.save(self.test_pdf)
doc.close()
if name == 'main':
unittest.main()`
Beta Was this translation helpful? Give feedback.
All reactions