code: def test_widths():
      data = """\
  A    B    C            D            E
  2011 58   360.242940   149.910199   11950.7
  2011 59   444.953632   166.985655   11788.4
  2011 60   364.136849   183.628767   11806.2
  2011 61   413.836124   184.375703   11916.8
  2011 62   502.953953   173.237159   12468.3
  """
      result = read_fwf(StringIO(data), widths=[5, 5, 13, 13, 7])
  
      expected = DataFrame(
          [
              [2011, 58, 360.242940, 149.910199, 11950.7],
              [2011, 59, 444.953632, 166.985655, 11788.4],
              [2011, 60, 364.136849, 183.628767, 11806.2],
              [2011, 61, 413.836124, 184.375703, 11916.8],
              [2011, 62, 502.953953, 173.237159, 12468.3],
          ],
          columns=["A", "B", "C", "D", "E"],
      )
      tm.assert_frame_equal(result, expected)
  
imports: from datetime import datetime
  from io import BytesIO, StringIO
  from pathlib import Path
  import numpy
  import pytest
  from pandas.errors import EmptyDataError
  import pandas
  from pandas import DataFrame, DatetimeIndex
  import pandas._testing
  from pandas.core.arrays import ArrowStringArray, StringArray
  from pandas.io.common import urlopen
  from pandas.io.parsers import read_csv, read_fwf
label_desc: Use image node_id 3 for calling a global function with example usage: test_widths() without return types