Commits

Michael Hudson-Doyle committed 349f6d5

basic tests for none (which currently fail)

Comments (0)

Files changed (1)

pypy/objspace/std/test/test_noneobject.py

+import unittest, sys
+import testsupport
+from pypy.objspace.std import noneobject as nobj
+from pypy.objspace.std.objspace import *
+
+
+class TestW_NoneObject(testsupport.TestCase_w):
+
+    def setUp(self):
+        self.space = StdObjSpace()
+
+    def tearDown(self):
+        pass
+
+    def test_equality(self):
+        self.assertEqual_w(self.space.w_None, self.space.w_None)
+        
+
+if __name__ == '__main__':
+    unittest.main()