....E.....E..... ====================================================================== ERROR: testHash (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 92, in testHash self.assertEqual(hash(Interval(3, 11)), hash(Interval(3, 11))) TypeError: __hash__() should return an int ====================================================================== ERROR: testLen (tester.ProblemTests) ---------------------------------------------------------------------- Traceback (most recent call last): File ".../test.py", line 97, in testLen self.assertEqual(0, len(Interval(-22, None))) File ".../fn43969/2007-03-31 10:34:26/user.py", line 154, in __len__ a = int(abs(self.Right - self.Left)) TypeError: unsupported operand type(s) for -: 'NoneType' and 'float' ---------------------------------------------------------------------- Ran 16 tests in 0.006s FAILED (errors=2)