[pypy-commit] pypy default: rename

pjenvey noreply at buildbot.pypy.org
Thu Apr 25 03:14:50 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: 
Changeset: r63602:84cc0f5357ed
Date: 2013-04-24 18:14 -0700
http://bitbucket.org/pypy/pypy/changeset/84cc0f5357ed/

Log:	rename

diff --git a/rpython/rlib/test/test_runicode.py b/rpython/rlib/test/test_runicode.py
--- a/rpython/rlib/test/test_runicode.py
+++ b/rpython/rlib/test/test_runicode.py
@@ -738,9 +738,9 @@
             py.test.skip("requires cp932 locale")
 
         s = '\xff\xf4\x8f\xbf\xbf'
-        encoder = self.getdecoder('mbcs')
-        assert encoder(s, len(s), 'strict') == (u'\U0010ffff', 5)
-        py.test.raises(UnicodeEncodeError, encoder, s, len(s), 'strict',
+        decoder = self.getdecoder('mbcs')
+        assert decoder(s, len(s), 'strict') == (u'\U0010ffff', 5)
+        py.test.raises(UnicodeEncodeError, decoder, s, len(s), 'strict',
                        force_ignore=False)
 
     def test_mbcs_encode_force_replace(self):


More information about the pypy-commit mailing list