[pypy-commit] pypy py3k-stdlib-2.7.6-merge: adapt to py3

pjenvey noreply at buildbot.pypy.org
Wed Mar 12 03:51:47 CET 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k-stdlib-2.7.6-merge
Changeset: r69883:2879fc4ab165
Date: 2014-03-11 19:49 -0700
http://bitbucket.org/pypy/pypy/changeset/2879fc4ab165/

Log:	adapt to py3

diff --git a/pypy/module/_io/test/test_textio.py b/pypy/module/_io/test/test_textio.py
--- a/pypy/module/_io/test/test_textio.py
+++ b/pypy/module/_io/test/test_textio.py
@@ -367,7 +367,7 @@
         t = _io.TextIOWrapper(NonbytesStream(u'a'))
         raises(TypeError, t.readline)
         t = _io.TextIOWrapper(NonbytesStream(u'a'))
-        t.read() == u'a'
+        raises(TypeError, t.read)
 
 
 class AppTestIncrementalNewlineDecoder:


More information about the pypy-commit mailing list