code: def test_verify_ignores_crc_error(self):
      # check ignores crc errors in ancillary chunks
  
      chunk_data = chunk(b"tEXt", b"spam")
      broken_crc_chunk_data = chunk_data[:-1] + b"q"  # break CRC
  
      image_data = HEAD + broken_crc_chunk_data + TAIL
      with pytest.raises(SyntaxError):
          PngImagePlugin.PngImageFile(BytesIO(image_data))
  
      ImageFile.LOAD_TRUNCATED_IMAGES = True
      try:
          im = load(image_data)
          assert im is not None
      finally:
          ImageFile.LOAD_TRUNCATED_IMAGES = False
  
imports: import re
  import sys
  import zlib
  from io import BytesIO
  import pytest
  from PIL import Image, ImageFile, PngImagePlugin, features
  from .helper import PillowLeakTestCase, assert_image, assert_image_equal, assert_image_equal_tofile, hopper, is_win32, mark_if_feature_version, skip_unless_feature
label_desc: Use image node_id 18 for calling the TestFilePng obj's underlying member method code with example usage: obj.test_verify_ignores_crc_error() without return types