Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: stdlib-2.7.3 Changeset: r55667:e56eabddced1 Date: 2012-06-14 08:47 +0200 http://bitbucket.org/pypy/pypy/changeset/e56eabddced1/
Log: The repr of dictproxy is really an implementation detail diff --git a/lib-python/2.7/test/test_descr.py b/lib-python/2.7/test/test_descr.py --- a/lib-python/2.7/test/test_descr.py +++ b/lib-python/2.7/test/test_descr.py @@ -4617,7 +4617,8 @@ self.C = C def test_repr(self): - self.assertIn('dict_proxy({', repr(vars(self.C))) + if test_support.check_impl_detail(): + self.assertIn('dict_proxy({', repr(vars(self.C))) self.assertIn("'meth':", repr(vars(self.C))) def test_iter_keys(self): _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit