code: def test_internals(self):
      im = Image.new("L", (100, 100))
      im.readonly = 1
      im._copy()
      assert not im.readonly
  
      im.readonly = 1
      im.paste(0, (0, 0, 100, 100))
      assert not im.readonly
  
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 14 for calling the TestImage obj's underlying member method code with example usage: obj.test_internals() without return types