class_docstr: Unit tests for classes from module.py.
class_docstr_tok: ["Unit","tests","for","classes","from","module.py","."]
docstr: Unit test for objax.Module.
docstr_tok: ["Unit","test","for","objax.Module","."]
code: def test_module(self):
      """Unit test for objax.Module."""
      m = SimpleModule(3, 5)
      self.assertIsInstance(m.vars(), objax.VarCollection)
      vars_list = list(m.vars())
      # Note that m.var_list is not in m.vars()
      self.assertEqual(len(vars_list), 1)
      self.assertIs(vars_list[0], m.v1)
  
imports: import functools
  import inspect
  import unittest
  from typing import Tuple
  import numpy
  from jax import numpy
  import objax
  from objax.typing import JaxArray
label_desc: Use image node_id 1 for calling the TestModule obj's underlying member method code with example usage: obj.test_module() without return types