import unittest
import test_primitives, test_astypes

def get_suite():
    primitives = unittest.TestLoader().loadTestsFromModule(test_primitives)
    astypes = unittest.TestLoader().loadTestsFromModule(test_astypes)
    return unittest.TestSuite([primitives, astypes])

def main():
    unittest.TextTestRunner(verbosity=2).run(get_suite())

if __name__ == "__main__":
    main()

import unittest
import test_primitives, test_astypes, test_helpers

def get_suite():
    modules = (test_primitives, test_astypes, test_helpers)
    suites = [unittest.TestLoader().loadTestsFromModule(module) for
              module in modules]
    return unittest.TestSuite(suites)

def main():
    unittest.TextTestRunner(verbosity=2).run(get_suite())

if __name__ == "__main__":
    main()

Include the helpers module tests in the full library testsuite.
Include the helpers module tests in the full library testsuite.

  import unittest
- import test_primitives, test_astypes
+ import test_primitives, test_astypes, test_helpers
  
  def get_suite():
-     primitives = unittest.TestLoader().loadTestsFromModule(test_primitives)
+     modules = (test_primitives, test_astypes, test_helpers)
-     astypes = unittest.TestLoader().loadTestsFromModule(test_astypes)
+     suites = [unittest.TestLoader().loadTestsFromModule(module) for
+               module in modules]
-     return unittest.TestSuite([primitives, astypes])
+     return unittest.TestSuite(suites)
  
  def main():
      unittest.TextTestRunner(verbosity=2).run(get_suite())
  
  if __name__ == "__main__":
      main()
  
Include the helpers module tests in the full library testsuite.
## Code Before:
import unittest
import test_primitives, test_astypes

def get_suite():
    primitives = unittest.TestLoader().loadTestsFromModule(test_primitives)
    astypes = unittest.TestLoader().loadTestsFromModule(test_astypes)
    return unittest.TestSuite([primitives, astypes])

def main():
    unittest.TextTestRunner(verbosity=2).run(get_suite())

if __name__ == "__main__":
    main()

## Instruction:
Include the helpers module tests in the full library testsuite.
## Code After:
import unittest
import test_primitives, test_astypes, test_helpers

def get_suite():
    modules = (test_primitives, test_astypes, test_helpers)
    suites = [unittest.TestLoader().loadTestsFromModule(module) for
              module in modules]
    return unittest.TestSuite(suites)

def main():
    unittest.TextTestRunner(verbosity=2).run(get_suite())

if __name__ == "__main__":
    main()
