Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r88214:0496d602181c
Date: 2016-11-08 13:38 +0100
http://bitbucket.org/pypy/pypy/changeset/0496d602181c/
Log: fix 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
@@ -1215,8 +1215,8 @@
a.z = 6
a.y = 7
assert list(a.__dict__) == ['x', 'z', 'y']
- assert a.__dict__.values() == [5, 6, 7]
- assert list(a.__dict__.iteritems()) == [('x', 5), ('z', 6), ('y', 7)]
+ assert list(a.__dict__.values()) == [5, 6, 7]
+ assert list(a.__dict__.items()) == [('x', 5), ('z', 6), ('y', 7)]
def test_bug_method_change(self):
class A(object):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit