EEEEEEEE ====================================================================== ERROR: test6_comm_complex (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 167, in test6_comm_complex self.assert_game(m1, m2, (0, 2)) File ".../test.py", line 188, in assert_game self.assertEqual(self.user.module_game(m1, m2), res) File ".../fn43552/2007-03-28 23:55:19/user.py", line 16, in module_game m1Score += scoreListSquares(m1Attrs['lists'], m2Attrs['nums']) File ".../fn43552/2007-03-28 23:55:19/user.py", line 63, in scoreListSquares midNum = reduce(add, numbers) / float(len(numbers)) TypeError: reduce() of empty sequence with no initial value ====================================================================== ERROR: test7_sort_simple (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 175, in test7_sort_simple self.assert_game(m1, m2, (3, 0)) File ".../test.py", line 188, in assert_game self.assertEqual(self.user.module_game(m1, m2), res) File ".../fn43552/2007-03-28 23:55:19/user.py", line 16, in module_game m1Score += scoreListSquares(m1Attrs['lists'], m2Attrs['nums']) File ".../fn43552/2007-03-28 23:55:19/user.py", line 63, in scoreListSquares midNum = reduce(add, numbers) / float(len(numbers)) TypeError: reduce() of empty sequence with no initial value ====================================================================== ERROR: test_1_end3_funcs_simple (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 89, in test_1_end3_funcs_simple self.assert_game(m1, m2, (0, 2)) File ".../test.py", line 188, in assert_game self.assertEqual(self.user.module_game(m1, m2), res) File ".../fn43552/2007-03-28 23:55:19/user.py", line 16, in module_game m1Score += scoreListSquares(m1Attrs['lists'], m2Attrs['nums']) File ".../fn43552/2007-03-28 23:55:19/user.py", line 63, in scoreListSquares midNum = reduce(add, numbers) / float(len(numbers)) TypeError: reduce() of empty sequence with no initial value ====================================================================== ERROR: test_2_end3_funcs_complex (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 108, in test_2_end3_funcs_complex self.assert_game(m1, m2, (2, 1)) File ".../test.py", line 188, in assert_game self.assertEqual(self.user.module_game(m1, m2), res) File ".../fn43552/2007-03-28 23:55:19/user.py", line 16, in module_game m1Score += scoreListSquares(m1Attrs['lists'], m2Attrs['nums']) File ".../fn43552/2007-03-28 23:55:19/user.py", line 63, in scoreListSquares midNum = reduce(add, numbers) / float(len(numbers)) TypeError: reduce() of empty sequence with no initial value ====================================================================== ERROR: test_3_avg_lists_simple (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 117, in test_3_avg_lists_simple self.assert_game(m1, m2, (0, 1)) File ".../test.py", line 188, in assert_game self.assertEqual(self.user.module_game(m1, m2), res) File ".../fn43552/2007-03-28 23:55:19/user.py", line 16, in module_game m1Score += scoreListSquares(m1Attrs['lists'], m2Attrs['nums']) File ".../fn43552/2007-03-28 23:55:19/user.py", line 63, in scoreListSquares midNum = reduce(add, numbers) / float(len(numbers)) TypeError: reduce() of empty sequence with no initial value ====================================================================== ERROR: test_4_avg_lists_tricky (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 127, in test_4_avg_lists_tricky self.assert_game(m1, m2, (0, 0)) File ".../test.py", line 188, in assert_game self.assertEqual(self.user.module_game(m1, m2), res) File ".../fn43552/2007-03-28 23:55:19/user.py", line 16, in module_game m1Score += scoreListSquares(m1Attrs['lists'], m2Attrs['nums']) File ".../fn43552/2007-03-28 23:55:19/user.py", line 63, in scoreListSquares midNum = reduce(add, numbers) / float(len(numbers)) TypeError: reduce() of empty sequence with no initial value ====================================================================== ERROR: test_5_comm_simple (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 154, in test_5_comm_simple self.assert_game(m1, m2, (2, 1)) File ".../test.py", line 188, in assert_game self.assertEqual(self.user.module_game(m1, m2), res) File ".../fn43552/2007-03-28 23:55:19/user.py", line 16, in module_game m1Score += scoreListSquares(m1Attrs['lists'], m2Attrs['nums']) File ".../fn43552/2007-03-28 23:55:19/user.py", line 63, in scoreListSquares midNum = reduce(add, numbers) / float(len(numbers)) TypeError: reduce() of empty sequence with no initial value ====================================================================== ERROR: test_8_sort_complex (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 178, in test_8_sort_complex if hasattr(self.user, 'fail8'): raise "Infinite loop in digits counting!" Infinite loop in digits counting! ---------------------------------------------------------------------- Ran 8 tests in 0.005s FAILED (errors=8)