def testing_suite():
 unittest_suite = unittest.TestSuite()
 test_loader = unittest.TestLoader()
 test_loader.testMethodPrefix = 'test_'
 tests = [TestPSW]
 for test in tests:
  cur_suite = test_loader.loadTestsFromTestCase(test)
  unittest_suite.addTest(cur_suite)
 doctest_suite = doctest.DocTestSuite(psw)
 big_suite = unittest.TestSuite((unittest_suite, doctest_suite))
 return big_suite

def testing_suite ( ) : unittest_suite = unittest . TestSuite ( ) test_loader = unittest . TestLoader ( ) test_loader . testMethodPrefix = 'test_' tests = [ TestPSW ] for test in tests : cur_suite = test_loader . loadTestsFromTestCase ( test ) unittest_suite . addTest ( cur_suite ) doctest_suite = doctest . DocTestSuite ( psw ) big_suite = unittest . TestSuite ( ( unittest_suite , doctest_suite ) ) return big_suite
generate the suite of tests .