code: def test_Type1Font_2():
      filename = os.path.join(
          os.path.dirname(__file__), "Courier10PitchBT-Bold.pfb"
      )
      font = t1f.Type1Font(filename)
      assert font.prop["Weight"] == "Bold"
      assert font.prop["isFixedPitch"]
      assert (
          font.prop["Encoding"][65] == "A"
      )  # the font uses StandardEncoding
      ((pos0, pos1),) = font._pos["Encoding"]
      assert font.parts[0][pos0:pos1] == b"/Encoding StandardEncoding"
      assert font._abbr["ND"] == "|-"
  
file_path: matplotlib/lib/matplotlib/tests/test_type1font.py
imports: import matplotlib._type1font
  import os.path
  import difflib
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_Type1Font_2() without return types