code: def test_load_buffer(self):
      im = pyvips.Image.black(10, 20)
      buf = im.write_to_buffer(".jpg")
  
      x = pyvips.Image.new_from_buffer(buf, "")
      assert x.width == 10
      assert x.height == 20
      assert x.bands == 1
  
file_path: pyvips/tests/test_saveload.py
imports: import os
  import tempfile
  import pytest
  import pyvips
  from helpers import temp_filename, skip_if_no, _is_PY3, IMAGES, JPEG_FILE
label_desc: Use image node_id 7 for calling the TestSaveLoad obj's underlying member method code with example usage: obj.test_load_buffer() without return types