class_docstr: Tests the LineSplitter class.
class_docstr_tok: ["Tests","the","LineSplitter","class","."]
docstr: Test LineSplitter w/ fixed-width fields
docstr_tok: ["Test","LineSplitter","w\/","fixed-width","fields"]
code: def test_constant_fixed_width(self):
      "Test LineSplitter w/ fixed-width fields"
      strg = "  1  2  3  4     5   # test"
      test = LineSplitter(3)(strg)
      assert_equal(test, ["1", "2", "3", "4", "", "5", ""])
      #
      strg = "  1     3  4  5  6# test"
      test = LineSplitter(20)(strg)
      assert_equal(test, ["1     3  4  5  6"])
      #
      strg = "  1     3  4  5  6# test"
      test = LineSplitter(30)(strg)
      assert_equal(test, ["1     3  4  5  6"])
  
imports: import time
  from datetime import date
  import numpy
  from numpy.testing import assert_, assert_equal, assert_allclose, assert_raises
  from numpy.lib._iotools import LineSplitter, NameValidator, StringConverter, has_nested_fields, easy_dtype, flatten_dtype
label_desc: Use image node_id 5 for calling the TestLineSplitter obj's underlying member method code with example usage: obj.test_constant_fixed_width() without return types