[pypy-svn] r50264 - pypy/branch/ghop-ropes-classes/pypy/rlib/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Wed Jan 2 17:44:10 CET 2008
Author: cfbolz
Date: Wed Jan 2 17:44:09 2008
New Revision: 50264
Modified:
pypy/branch/ghop-ropes-classes/pypy/rlib/test/test_ropewrapper.py
Log:
typo
Modified: pypy/branch/ghop-ropes-classes/pypy/rlib/test/test_ropewrapper.py
==============================================================================
--- pypy/branch/ghop-ropes-classes/pypy/rlib/test/test_ropewrapper.py (original)
+++ pypy/branch/ghop-ropes-classes/pypy/rlib/test/test_ropewrapper.py Wed Jan 2 17:44:09 2008
@@ -102,7 +102,7 @@
s = self.conststr("\xff")
u = s.decode("latin-1")
assert u == self.constunicode(u"\xff")
- py.test.raises(UnicodeDecodeError, u.decode, "ascii")
+ py.test.raises(UnicodeDecodeError, s.decode, "ascii")
def test_decode_errors(self):
s = self.conststr("a\xffb")
More information about the Pypy-commit
mailing list