Traceback (most recent call last):

-snip-

doc.write_pdf(output)


 "C:\Python39\lib\site-packages\weasyprint\document.py", line 1028, in write_pdf

page.paint(stream, scale=scale)


 "C:\Python39\lib\site-packages\weasyprint\document.py", line 713, in paint

draw_page(self._page_box, context)


 "C:\Python39\lib\site-packages\weasyprint\draw.py", line 158, in draw_page

draw_stacking_context(context, stacking_context)


 "C:\Python39\lib\site-packages\weasyprint\draw.py", line 277, in draw_stacking_context

draw_stacking_context(context, child_context)


 "C:\Python39\lib\site-packages\weasyprint\draw.py", line 272, in draw_stacking_context

draw_inline_level(


 "C:\Python39\lib\site-packages\weasyprint\draw.py", line 1023, in draw_inline_level

draw_inline_level(


 "C:\Python39\lib\site-packages\weasyprint\draw.py", line 1018, in draw_inline_level

draw_text(context, child, child_offset_x, text_overflow)


 "C:\Python39\lib\site-packages\weasyprint\draw.py", line 1062, in draw_text

pango.pango_layout_get_context(textbox.layout),
AttributeError: 'TextBox' object has no attribute 'layout'

Traceback (most recent call last):


 "/<<PKGBUILDDIR>>/tests/unit/templates/test_jinja.py", line 270, in test_macro_additional_log_for_undefined

with patch.object(SaltCacheLoader, 'file_client', MagicMock(return_value=fc)):
AttributeError: 'MagicMock' object has no attribute 'object'
