code: def test_messed_up_data():
      # Completely messed up file.
      test = """
     Account          Name             Balance     Credit Limit   Account Created
         101                           10000.00                       1/17/1998
         312     Gerard Butler         90.00       1000.00
  
         761     Jada Pinkett-Smith    49654.87    100000.00          12/5/2006
    317          Bill Murray           789.65
  """.strip(
          "\r\n"
      )
      colspecs = ((2, 10), (15, 33), (37, 45), (49, 61), (64, 79))
      expected = read_fwf(StringIO(test), colspecs=colspecs)
  
      result = read_fwf(StringIO(test))
      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 23 for calling a global function with example usage: test_messed_up_data() without return types