code: def test_sanity():
      # Regular scale
      with Image.open(FILE1) as image1:
          image1.load()
          assert image1.mode == "RGB"
          assert image1.size == (460, 352)
          assert image1.format == "EPS"
  
      with Image.open(FILE2) as image2:
          image2.load()
          assert image2.mode == "RGB"
          assert image2.size == (360, 252)
          assert image2.format == "EPS"
  
      # Double scale
      with Image.open(FILE1) as image1_scale2:
          image1_scale2.load(scale=2)
          assert image1_scale2.mode == "RGB"
          assert image1_scale2.size == (920, 704)
          assert image1_scale2.format == "EPS"
  
      with Image.open(FILE2) as image2_scale2:
          image2_scale2.load(scale=2)
          assert image2_scale2.mode == "RGB"
          assert image2_scale2.size == (720, 504)
          assert image2_scale2.format == "EPS"
  
imports: import io
  import pytest
  from PIL import EpsImagePlugin, Image, features
  from .helper import assert_image_similar, assert_image_similar_tofile, hopper, mark_if_feature_version, skip_unless_feature
label_desc: Use image node_id 1 for calling a global function with example usage: test_sanity() without return types