code: def test_block_tagged(resources):
      with pytest.raises(ocrmypdf.exceptions.TaggedPDFError):
          ocrmypdf.ocr(resources / "tagged.pdf", "_.pdf")
  
imports: from __future__ import annotations
  import pytest
  import ocrmypdf
label_desc: Use image node_id 1 for calling a global function with example usage: test_block_tagged(resources) without return types