.F.......EF.E... ====================================================================== ERROR: testLeftRight (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 57, in testLeftRight self.assertEqual(-5.0, i.left()) TypeError: 'float' object is not callable ====================================================================== ERROR: testRepr (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 25, in testRepr self.assertEqual(i, eval(repr(i))) File "", line 1, in TypeError: 'classobj' object is unsubscriptable ====================================================================== FAIL: testContains (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 85, in testContains self.assertFalse(Interval(None, -8).contains(Interval(-8, None))) AssertionError ====================================================================== FAIL: testLen (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 99, in testLen self.assertEqual(7, len(Interval(-2, 4.1))) AssertionError: 7 != 6 ---------------------------------------------------------------------- Ran 16 tests in 0.006s FAILED (failures=2, errors=2)