Author: Matti Picus <[email protected]>
Branch: unicode-utf8-py3
Changeset: r95074:34c6d0d3499f
Date: 2018-09-02 10:51 +0200
http://bitbucket.org/pypy/pypy/changeset/34c6d0d3499f/
Log: expand test
diff --git a/pypy/objspace/std/test/test_bytesobject.py
b/pypy/objspace/std/test/test_bytesobject.py
--- a/pypy/objspace/std/test/test_bytesobject.py
+++ b/pypy/objspace/std/test/test_bytesobject.py
@@ -1031,4 +1031,5 @@
a = b'abcabc'
id_b = id(str(a, 'latin1'))
id_a = id(a)
+ assert a is not str(a, 'latin1')
assert id_a != id_b
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit