[pypy-svn] r14269 - pypy/branch/dist-2.4.1/pypy/objspace/std/test

ac at codespeak.net ac at codespeak.net
Tue Jul 5 12:51:43 CEST 2005


Author: ac
Date: Tue Jul  5 12:51:43 2005
New Revision: 14269

Modified:
   pypy/branch/dist-2.4.1/pypy/objspace/std/test/test_unicodeobject.py
Log:
Remove some incorrect tests.

Modified: pypy/branch/dist-2.4.1/pypy/objspace/std/test/test_unicodeobject.py
==============================================================================
--- pypy/branch/dist-2.4.1/pypy/objspace/std/test/test_unicodeobject.py	(original)
+++ pypy/branch/dist-2.4.1/pypy/objspace/std/test/test_unicodeobject.py	Tue Jul  5 12:51:43 2005
@@ -130,7 +130,6 @@
         assert u'abc'.center(2) == u'abc'
         assert u'abc'.center(5, u'*') == u'*abc*'    # Python 2.4
         assert u'abc'.center(5, '*') == u'*abc*'     # Python 2.4
-        raises(TypeError, 'abc'.center, 5, u'*')     # Python 2.4
         raises(TypeError, u'abc'.center, 4, u'cba')
 
     def test_rjust(self):
@@ -145,7 +144,6 @@
         assert u'abc'.rjust(2) == u'abc'
         assert u'abc'.rjust(5, u'*') == u'**abc'    # Python 2.4
         assert u'abc'.rjust(5, '*') == u'**abc'     # Python 2.4
-        raises(TypeError, 'abc'.rjust, 5, u'*')     # Python 2.4
         raises(TypeError, u'abc'.rjust, 5, u'xx')
 
     def test_ljust(self):
@@ -160,7 +158,6 @@
         assert u'abc'.ljust(2) == u'abc'
         assert u'abc'.ljust(5, u'*') == u'abc**'    # Python 2.4
         assert u'abc'.ljust(5, '*') == u'abc**'     # Python 2.4
-        raises(TypeError, 'abc'.ljust, 5, u'*')     # Python 2.4
         raises(TypeError, u'abc'.ljust, 6, u'')
 
     def test_long_from_unicode(self):



More information about the Pypy-commit mailing list