code: def test_unsupported(self):
      if HAVE_WEBP:
          WebPImagePlugin.SUPPORTED = False
  
      file_path = "Tests/images/hopper.webp"
      pytest.warns(
          UserWarning,
          lambda: pytest.raises(OSError, Image.open, file_path),
      )
  
      if HAVE_WEBP:
          WebPImagePlugin.SUPPORTED = True
  
imports: import io
  import re
  import sys
  import pytest
  from PIL import Image, WebPImagePlugin, features
  from .helper import assert_image_similar, assert_image_similar_tofile, hopper, skip_unless_feature
label_desc: Use image node_id 1 for calling the TestUnsupportedWebp obj's underlying member method code with example usage: obj.test_unsupported() without return types