...E......F.E... ====================================================================== ERROR: testExpand (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 62, in testExpand self.assertEqual(Interval(-3, 10), i.expand(right=-1)) File "unittest.py", line 332, in failUnlessEqual if not first == second: File ".../fn43617/2007-04-04 11:34:37/user.py", line 119, in __eq__ if self.__left == intv.left() and self.__right == intv.right(): AttributeError: 'NoneType' object has no attribute 'left' ====================================================================== 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 NameError: name '__builtin__' is not defined ====================================================================== 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.007s FAILED (failures=1, errors=2)