code: def test_width_height(self):
      im = Image.new("RGB", (1, 2))
      assert im.width == 1
      assert im.height == 2
  
      with pytest.raises(AttributeError):
          im.size = (3, 4)
  
imports: import io
  import os
  import shutil
  import sys
  import tempfile
  import pytest
  from PIL import Image, ImageDraw, ImagePalette, UnidentifiedImageError
  from .helper import assert_image_equal, assert_image_equal_tofile, assert_image_similar_tofile, assert_not_all_same, hopper, is_win32, mark_if_feature_version, skip_unless_feature
label_desc: Use image node_id 6 for calling the TestImage obj's underlying member method code with example usage: obj.test_width_height() without return types