Author: Armin Rigo <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit