Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r89626:99326d8d01a0
Date: 2017-01-17 10:34 +0100
http://bitbucket.org/pypy/pypy/changeset/99326d8d01a0/

Log:    fix test

diff --git a/pypy/module/test_lib_pypy/test_collections.py 
b/pypy/module/test_lib_pypy/test_collections.py
--- a/pypy/module/test_lib_pypy/test_collections.py
+++ b/pypy/module/test_lib_pypy/test_collections.py
@@ -219,9 +219,10 @@
                 self.default_factory = self._factory
             def _factory(self):
                 return []
+        sub._factory.__qualname__ = "FACTORY"
         d = sub()
         assert repr(d).startswith(
-            "defaultdict(<bound method sub._factory of defaultdict(...")
+            "defaultdict(<bound method FACTORY of defaultdict(...")
 
     def test_copy(self):
         collections = self.collections
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to