code: def test_verify_not_ignores_crc_error_in_required_chunk(self):
      # check does not ignore crc errors in required chunks
  
      image_data = MAGIC + IHDR[:-1] + b"q" + TAIL
  
      ImageFile.LOAD_TRUNCATED_IMAGES = True
      try:
          with pytest.raises(SyntaxError):
              PngImagePlugin.PngImageFile(BytesIO(image_data))
      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 19 for calling the TestFilePng obj's underlying member method code with example usage: obj.test_verify_not_ignores_crc_error_in_required_chunk() without return types