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