...EE........... ====================================================================== 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 ".../fn43579/2007-04-04 11:46:03/user.py", line 140, in __eq__ if(self.leftInt == other.leftInt and self.rightInt == other.rightInt): AttributeError: 'NoneType' object has no attribute 'leftInt' ====================================================================== 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 ---------------------------------------------------------------------- Ran 16 tests in 0.006s FAILED (errors=2)