Author: Carl Friedrich Bolz-Tereick <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit