code: def test_open():
      # Arrange
      # Created with `convert hopper.png hopper.xbm`
      filename = "Tests/images/hopper.xbm"
  
      # Act
      with Image.open(filename) as im:
          # Assert
          assert im.mode == "1"
          assert im.size == (128, 128)
  
file_path: pillow-simd/Tests/test_file_xbm.py
imports: from io import BytesIO
  import pytest
  from PIL import Image
  from .helper import hopper
label_desc: Use image node_id 2 for calling a global function with example usage: test_open() without return types