[pypy-commit] pypy py3.5: Fix test
arigo
pypy.commits at gmail.com
Wed May 23 13:34:16 EDT 2018
Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r94658:33ccfe808125
Date: 2018-05-23 19:33 +0200
http://bitbucket.org/pypy/pypy/changeset/33ccfe808125/
Log: Fix test
diff --git a/pypy/objspace/std/test/test_dictmultiobject.py b/pypy/objspace/std/test/test_dictmultiobject.py
--- a/pypy/objspace/std/test/test_dictmultiobject.py
+++ b/pypy/objspace/std/test/test_dictmultiobject.py
@@ -290,7 +290,7 @@
import __pypy__
def kw(**d): return d
for d in [{}, {1: 2, 3: 4, 5: 6}, {"a": 5, "b": 2, "c": 6}, kw(a=1, b=2)]:
- assert list(__pypy__.reversed_dict(d)) == list(d.keys()[::-1])
+ assert list(__pypy__.reversed_dict(d)) == list(d.keys())[::-1]
raises(TypeError, __pypy__.reversed_dict, 42)
def test_reversed_dict_runtimeerror(self):
More information about the pypy-commit
mailing list