Author: Antonio Cuni <anto.c...@gmail.com>
Branch: py3k
Changeset: r53004:390d9fc2b4bd
Date: 2012-02-28 23:09 +0100
http://bitbucket.org/pypy/pypy/changeset/390d9fc2b4bd/

Log:    kill the u''

diff --git a/pypy/module/exceptions/test/test_exc.py 
b/pypy/module/exceptions/test/test_exc.py
--- a/pypy/module/exceptions/test/test_exc.py
+++ b/pypy/module/exceptions/test/test_exc.py
@@ -71,18 +71,18 @@
 
     def test_unicode_translate_error(self):
         from exceptions import UnicodeTranslateError
-        ut = UnicodeTranslateError(u"x", 1, 5, "bah")
-        assert ut.object == u'x'
+        ut = UnicodeTranslateError("x", 1, 5, "bah")
+        assert ut.object == 'x'
         assert ut.start == 1
         assert ut.end == 5
         assert ut.reason == 'bah'
-        assert ut.args == (u'x', 1, 5, 'bah')
+        assert ut.args == ('x', 1, 5, 'bah')
         assert ut.message == ''
-        ut.object = u'y'
-        assert ut.object == u'y'
+        ut.object = 'y'
+        assert ut.object == 'y'
         assert str(ut) == "can't translate characters in position 1-4: bah"
         ut.start = 4
-        ut.object = u'012345'
+        ut.object = '012345'
         assert str(ut) == "can't translate character u'\\x34' in position 4: 
bah"
         ut.object = []
         assert ut.object == []
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to