[pypy-commit] pypy py3.6: be explicit

cfbolz pypy.commits at gmail.com
Wed Sep 11 08:39:37 EDT 2019


Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.6
Changeset: r97437:ea8b601d6d05
Date: 2019-09-11 14:30 +0200
http://bitbucket.org/pypy/pypy/changeset/ea8b601d6d05/

Log:	be explicit

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
@@ -148,9 +148,9 @@
         r = _io.BytesIO(b"\xc3\xa4bc\ndef\n")
         t = _io.TextIOWrapper(r, encoding="utf-8")
         reads = t.read(4)
-        assert reads == "äbc\n"
+        assert reads == u"äbc\n"
         reads += t.readline()
-        assert reads == "äbc\ndef\n"
+        assert reads == u"äbc\ndef\n"
 
     def test_encoded_writes(self):
         import _io


More information about the pypy-commit mailing list