Commits

Sam Bull  committed 823708f

Fix testcase failure when using Python's unittest module.

  • Participants
  • Parent commits 37fb5da

Comments (0)

Files changed (1)

File test/rect_test.py

 
         class foo (Rect):
             def __eq__(self,other):
-                return id(self) == id(other);
+                return id(self) == id(other)
+            def __ne__(self,other):
+                return id(self) != id(other)
 
         class foo2 (Rect):
             pass