[pypy-svn] rev 678 - pypy/trunk/src/pypy/objspace/std/test

tomek at codespeak.net tomek at codespeak.net
Thu May 29 16:14:11 CEST 2003


Author: tomek
Date: Thu May 29 16:14:10 2003
New Revision: 678

Modified:
   pypy/trunk/src/pypy/objspace/std/test/test_stringobject.py
Log:
add test


Modified: pypy/trunk/src/pypy/objspace/std/test/test_stringobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/test/test_stringobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/test/test_stringobject.py	Thu May 29 16:14:10 2003
@@ -1,11 +1,6 @@
 import testsupport
-<<<<<<< .mine
 from pypy.objspace.std.stringobject import string_richcompare, W_StringObject, EQ, LT, GT, NE, LE, GE
 from pypy.objspace.std.objspace import StdObjSpace
-=======
-#from pypy.objspace.std.stringobject import W_StringObject
-#from pypy.objspace.std.objspace import StdObjSpace
->>>>>>> .r676
 
 
 class TestW_StringObject(testsupport.TestCase):
@@ -16,6 +11,11 @@
     def tearDown(self):
         pass
 
+    def test_order_rich(self):
+        space = self.space
+        w = space.wrap
+        self.failUnless_w(string_richcompare(space, w('abc'), w('abc'), EQ))
+
     def test_equality(self):
         w = self.space.wrap 
         self.assertEqual_w(w('abc'), w('abc'))


More information about the Pypy-commit mailing list