Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3.3
Changeset: r76307:890f849d67aa
Date: 2015-03-10 15:23 +0100
http://bitbucket.org/pypy/pypy/changeset/890f849d67aa/

Log:    Adjust test: pypy use __qualname__ even for builtin methods.

diff --git a/lib-python/3/test/test_reprlib.py 
b/lib-python/3/test/test_reprlib.py
--- a/lib-python/3/test/test_reprlib.py
+++ b/lib-python/3/test/test_reprlib.py
@@ -187,7 +187,7 @@
             # cpython
             repr(dict.items) == "<method 'items' of 'dict' objects>",
             # pypy
-            repr(dict.items).startswith("<function items at 0x"),
+            repr(dict.items).startswith("<function dict.items at 0x"),
         )))
         # XXX member descriptors
         # XXX attribute descriptors
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to