Commits

Anonymous committed ac93ee3

add test for ne

Comments (0)

Files changed (1)

pypy/objspace/std/test/test_noneobject.py

 
     def test_equality(self):
         self.assertEqual_w(self.space.w_None, self.space.w_None)
+    
+    def test_inequality(self):
+        neresult = self.space.ne(self.space.w_None, self.space.w_None)
+        self.failIf_w(neresult)
         
 
 if __name__ == '__main__':