code: def test_profile_typesafety():
      """Profile init type safety
  
      prepatch, these would segfault, postpatch they should emit a typeerror
      """
  
      with pytest.raises(TypeError):
          ImageCms.ImageCmsProfile(0).tobytes()
      with pytest.raises(TypeError):
          ImageCms.ImageCmsProfile(1).tobytes()
  
imports: import datetime
  import os
  import re
  import shutil
  from io import BytesIO
  import pytest
  from PIL import Image, ImageMode, features
  from .helper import assert_image, assert_image_equal, assert_image_similar, assert_image_similar_tofile, hopper
label_desc: Use image node_id 25 for calling a global function with example usage: test_profile_typesafety() without return types