[pypy-commit] pypy py3k: Fix a test

amauryfa noreply at buildbot.pypy.org
Sun Feb 8 17:38:22 CET 2015


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r75762:06870a7c11d8
Date: 2015-02-08 17:37 +0100
http://bitbucket.org/pypy/pypy/changeset/06870a7c11d8/

Log:	Fix a test

diff --git a/pypy/objspace/std/test/test_mapdict.py b/pypy/objspace/std/test/test_mapdict.py
--- a/pypy/objspace/std/test/test_mapdict.py
+++ b/pypy/objspace/std/test/test_mapdict.py
@@ -706,7 +706,7 @@
             pass
         x = X(); x.a = 10; x.b = 20; x.c = 30
         d = x.__dict__
-        assert list(__pypy__.reversed_dict(d)) == d.keys()[::-1]
+        assert list(__pypy__.reversed_dict(d)) == list(d.keys())[::-1]
 
 
 class AppTestWithMapDictAndCounters(object):


More information about the pypy-commit mailing list