code: def test_from_number(self):
      f = [10, -12, 123456789]
      r_f = [
          IntFormat(3, repeat=26),
          IntFormat(4, repeat=20),
          IntFormat(10, repeat=8),
      ]
      for i, j in zip(f, r_f):
          assert_equal(IntFormat.from_number(i).__dict__, j.__dict__)
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_equal
  from pytest import raises
  from scipy.io.harwell_boeing._fortran_format_parser import FortranFormatParser, IntFormat, ExpFormat, BadFortranFormat, number_digits
label_desc: Use image node_id 2 for calling the TestIntFormat obj's underlying member method code with example usage: obj.test_from_number() without return types