...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 ".../fn43728/2007-04-04 17:00:35/user.py", line 31, in expand if self.start == None: start1 = None NameError: global name 'self' is not defined ====================================================================== 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.005s FAILED (errors=2)