Python 3.2.3 (default, Feb 20 2013, 14:44:27) [GCC 4.7.2] on linux2 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> F ====================================================================== FAIL: test_create_rectangle (__main__.TestApril11) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april11/april11_tests.py", line 29, in test_create_rectangle self.assertEqual(rect.height, 5) AssertionError: 10 != 5 ---------------------------------------------------------------------- Ran 1 test in 0.005s FAILED (failures=1) >>> ================================ RESTART ================================ >>> . ---------------------------------------------------------------------- Ran 1 test in 0.005s OK >>> ================================ RESTART ================================ >>> ### This failure is because I messed up the parentheses in the test E. ====================================================================== ERROR: test_area (__main__.TestApril11) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april11/april11_tests.py", line 33, in test_area self.assertEqual(rectangle.area(rectangle.create(5, 10) ,50)) TypeError: area() takes exactly 1 positional argument (2 given) ---------------------------------------------------------------------- Ran 2 tests in 0.010s FAILED (errors=1) >>> ================================ RESTART ================================ >>> E. ====================================================================== ERROR: test_area (__main__.TestApril11) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april11/april11_tests.py", line 33, in test_area self.assertEqual(rectangle.area(rectangle.create(5, 10) ,50)) TypeError: area() takes exactly 1 positional argument (2 given) ---------------------------------------------------------------------- Ran 2 tests in 0.009s FAILED (errors=1) >>> ================================ RESTART ================================ >>> .. ---------------------------------------------------------------------- Ran 2 tests in 0.011s OK >>> ================================ RESTART ================================ >>> .. ---------------------------------------------------------------------- Ran 2 tests in 0.011s OK >>> ================================ RESTART ================================ >>> .. ---------------------------------------------------------------------- Ran 2 tests in 0.012s OK >>> ================================ RESTART ================================ >>> ... ---------------------------------------------------------------------- Ran 3 tests in 0.014s OK >>> ================================ RESTART ================================ >>> ...E ====================================================================== ERROR: test_distance (__main__.TestApril11) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sukaeto/good_stuff/documents/teaching/CISC106/spring-2013/examples/april11/april11_tests.py", line 46, in test_distance point.distance(origin, point.create(1, 1)), AttributeError: 'module' object has no attribute 'distance' ---------------------------------------------------------------------- Ran 4 tests in 0.019s FAILED (errors=1) >>> ================================ RESTART ================================ >>> .... ---------------------------------------------------------------------- Ran 4 tests in 0.020s OK >>>